summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-08-16 01:05:01 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-08-16 01:05:54 -0500
commitb26444073788793508057f21153df22b4b9559d1 (patch)
tree589c55d7ade224a0242fcd52e0f13c0e5e9c0fe3 /drivers/atmodem
parentaec21db6cbe094188d83458dcac8e08004904807 (diff)
downloadofono-b26444073788793508057f21153df22b4b9559d1.tar.bz2
sim: Minor formatting nitpicks
Diffstat (limited to 'drivers/atmodem')
-rw-r--r--drivers/atmodem/sim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/atmodem/sim.c b/drivers/atmodem/sim.c
index 0af9c8ca..d480185a 100644
--- 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;
}