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:
aec21db
)
sim: Minor formatting nitpicks
author
Denis Kenzior
<denkenz@gmail.com>
Thu, 16 Aug 2012 06:05:01 +0000
(
01:05
-0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Thu, 16 Aug 2012 06:05:54 +0000
(
01:05
-0500)
drivers/atmodem/sim.c
patch
|
blob
|
history
diff --git
a/drivers/atmodem/sim.c
b/drivers/atmodem/sim.c
index
0af9c8c
..
d480185
100644
(file)
--- a/
drivers/atmodem/sim.c
+++ b/
drivers/atmodem/sim.c
@@
-873,10
+873,12
@@
static void at_pct_cb(gboolean ok, GAtResult *result, gpointer user_data)
pin_type = ofono_sim_get_password_type(sim);
if (pin_type == OFONO_SIM_PASSWORD_NONE) {
DBG("Note: No password required, returning maximum retries:");
+
AT_PCT_SET_RETRIES(retries, OFONO_SIM_PASSWORD_SIM_PIN, 3);
AT_PCT_SET_RETRIES(retries, OFONO_SIM_PASSWORD_SIM_PIN2, 3);
AT_PCT_SET_RETRIES(retries, OFONO_SIM_PASSWORD_SIM_PUK, 10);
AT_PCT_SET_RETRIES(retries, OFONO_SIM_PASSWORD_SIM_PUK2, 10);
+
goto callback;
}