rilmodem: rest the sim PIN retries when the correct pin enters.
PATCH 1/1 rilmodem: rest the sim PIN retries when the correct pin enters.
The SIM PIN retires where not getting reset
when the correct PIN/PUK enters.
--- drivers/rilmodem/sim.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/rilmodem/sim.c +2 -0
@@ -1116,6 +1116,8 @@ static void ril_pin_change_state_cb(struct ril_msg *message, gpointer user_data)*/ if (message->error ==RIL_E_PASSWORD_INCORRECT ) sd->retries[sd->passwd_type] =parcel_r_int32 (&rilp); +else + sd->retries[sd->passwd_type] =-1 ;g_ril_append_print_buf (sd->ril,"{%d}" , sd->retries[sd->passwd_type]);
Signature · 1 line
1.9.1
Hi Suman,
Quoted 2 lines · Suman Mallela
The SIM PIN retires where not getting reset
when the correct PIN/PUK enters.
I fixed up the various spelling mistakes in the commit description and applied the patch.
Quoted 4 lines
--- drivers/rilmodem/sim.c | 2 ++ 1 file changed, 2 insertions(+)
Regards,
-Denis