* [PATCH] rilmodem: rest the sim PIN retries when the correct pin enters.
@ 2016-05-16 7:24 Suman Mallela
2016-05-17 14:50 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Suman Mallela @ 2016-05-16 7:24 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 678 bytes --]
The SIM PIN retires where not getting reset
when the correct PIN/PUK enters.
---
drivers/rilmodem/sim.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/rilmodem/sim.c b/drivers/rilmodem/sim.c
index 4ae2e40..a2c1567 100644
--- a/drivers/rilmodem/sim.c
+++ b/drivers/rilmodem/sim.c
@@ -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]);
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rilmodem: rest the sim PIN retries when the correct pin enters.
2016-05-16 7:24 [PATCH] rilmodem: rest the sim PIN retries when the correct pin enters Suman Mallela
@ 2016-05-17 14:50 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2016-05-17 14:50 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 343 bytes --]
Hi Suman,
On 05/16/2016 02:24 AM, Suman Mallela wrote:
> 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.
> ---
> drivers/rilmodem/sim.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-17 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-16 7:24 [PATCH] rilmodem: rest the sim PIN retries when the correct pin enters Suman Mallela
2016-05-17 14:50 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.