From: Cedric Jehasse <[email protected]>
The retries array was not correctly filled in.
---
drivers/atmodem/sim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/atmodem/sim.c b/drivers/atmodem/sim.c
index 054f548..d6a0dcf 100644
--- 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;
}
}
--
1.9.2
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono