projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5efd87f
)
stk: Don't submit all pending envelopes at once
author
Denis Kenzior
<denkenz@gmail.com>
Wed, 7 Jul 2010 20:12:16 +0000
(15:12 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Thu, 8 Jul 2010 19:27:34 +0000
(14:27 -0500)
src/stk.c
patch
|
blob
|
history
diff --git
a/src/stk.c
b/src/stk.c
index
1185dbd
..
30ae98f
100644
(file)
--- a/
src/stk.c
+++ b/
src/stk.c
@@
-135,11
+135,11
@@
out:
static void envelope_queue_run(struct ofono_stk *stk)
{
-
while
(g_queue_get_length(stk->envelope_q) > 0) {
+
if
(g_queue_get_length(stk->envelope_q) > 0) {
struct envelope_op *op = g_queue_peek_head(stk->envelope_q);
stk->driver->envelope(stk, op->tlv_len, op->tlv,
- envelope_cb, stk);
+
envelope_cb, stk);
}
}