summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem
diff options
context:
space:
mode:
authorCedric Jehasse <cedric.jehasse@softathome.com>2015-02-02 10:32:44 +0100
committerDenis Kenzior <denkenz@gmail.com>2015-02-02 09:21:10 -0600
commit25f926c7332ff4bf4eaeb69d19c11a11ae7e4638 (patch)
treeca76315d7baa3f20918f66549b50a3f6c38bbe40 /drivers/atmodem
parent151b837428b9ca1e6f7128cc53c4fa05dd219ceb (diff)
downloadofono-25f926c7332ff4bf4eaeb69d19c11a11ae7e4638.tar.bz2
atmodem: Sierra modems should be polled after CPIN
Sierra modem will return "CME ERROR: 14" when polled right after pin has been entered. Use the existing vendor quirk to handle this.
Diffstat (limited to 'drivers/atmodem')
-rw-r--r--drivers/atmodem/sim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/atmodem/sim.c b/drivers/atmodem/sim.c
index c128e337..054f5482 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