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:
25f926c
)
atmodem: fix retries reporting from AT+CPINR
author
Cedric Jehasse
<cedric.jehasse@softathome.com>
Mon, 2 Feb 2015 09:32:45 +0000
(10:32 +0100)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 2 Feb 2015 15:22:21 +0000
(09:22 -0600)
The retries array was not correctly filled in.
drivers/atmodem/sim.c
patch
|
blob
|
history
diff --git
a/drivers/atmodem/sim.c
b/drivers/atmodem/sim.c
index 054f5482ac3086720148dbf3e1d2ccfdede9d1f4..d6a0dcfa8e865d76cacfd3b20b761c03eed54658 100644
(file)
--- a/
drivers/atmodem/sim.c
+++ b/
drivers/atmodem/sim.c
@@
-827,7
+827,7
@@
static void at_cpinr_cb(gboolean ok, GAtResult *result, gpointer user_data)
for (i = 1; i < len; i++) {
if (!strcmp(name, at_sim_name[i].name)) {
- retries[
i
] = val;
+ retries[
at_sim_name[i].type
] = val;
break;
}
}