Open Source Telephony
 help / color / mirror / Atom feed
* [PATCH 1/2] atmodem: add Sierra to be polled after entering pin
@ 2015-02-02  9:32 Cedric Jehasse
  2015-02-02  9:32 ` [PATCH 2/2] atmodem: fix retries reporting from AT+CPINR Cedric Jehasse
  2015-02-02 15:22 ` [PATCH 1/2] atmodem: add Sierra to be polled after entering pin Denis Kenzior
  0 siblings, 2 replies; 4+ messages in thread
From: Cedric Jehasse @ 2015-02-02  9:32 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

From: Cedric Jehasse <cedric.jehasse@softathome.com>

Sierra modem will return "CME ERROR: 14" when polled right after pin has
been entered. Use the existing vendor quirk to handle this.
---
 drivers/atmodem/sim.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/atmodem/sim.c b/drivers/atmodem/sim.c
index c128e33..054f548 100644
--- a/drivers/atmodem/sim.c
+++ b/drivers/atmodem/sim.c
@@ -1350,6 +1350,7 @@ static void at_pin_send_cb(gboolean ok, GAtResult *result,
 	case OFONO_VENDOR_ALCATEL:
 	case OFONO_VENDOR_HUAWEI:
 	case OFONO_VENDOR_SIMCOM:
+	case OFONO_VENDOR_SIERRA:
 		/*
 		 * On ZTE modems, after pin is entered, SIM state is checked
 		 * by polling CPIN as their modem doesn't provide unsolicited
-- 
1.9.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-02 15:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-02  9:32 [PATCH 1/2] atmodem: add Sierra to be polled after entering pin Cedric Jehasse
2015-02-02  9:32 ` [PATCH 2/2] atmodem: fix retries reporting from AT+CPINR Cedric Jehasse
2015-02-02 15:23   ` Denis Kenzior
2015-02-02 15:22 ` [PATCH 1/2] atmodem: add Sierra to be polled after entering pin Denis Kenzior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox