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:
151b837
)
atmodem: Sierra modems should be polled after CPIN
author
Cedric Jehasse
<cedric.jehasse@softathome.com>
Mon, 2 Feb 2015 09:32:44 +0000
(10:32 +0100)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 2 Feb 2015 15:21:10 +0000
(09:21 -0600)
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
patch
|
blob
|
history
diff --git
a/drivers/atmodem/sim.c
b/drivers/atmodem/sim.c
index c128e33747a83876230ca8a61d13d542ba3c3019..054f5482ac3086720148dbf3e1d2ccfdede9d1f4 100644
(file)
--- 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