mirror of git://git.sysmocom.de/ofono
atmodem: Poll SIM state after entering PIN
Encountered a problem of CME ERROR 14: SIM busy on Alcatel and Huawei modem. The Huawei modem has a ^SIMST unsollicited sim state indication, but not all Huawei modems support this. So poll the SIM state, as was already done for ZTE modems.
This commit is contained in:
parent
0f242c9714
commit
5f9c1e9e34
|
@ -1179,6 +1179,8 @@ static void at_pin_send_cb(gboolean ok, GAtResult *result,
|
|||
FALSE, cbd, g_free);
|
||||
return;
|
||||
case OFONO_VENDOR_ZTE:
|
||||
case OFONO_VENDOR_ALCATEL:
|
||||
case OFONO_VENDOR_HUAWEI:
|
||||
/*
|
||||
* On ZTE modems, after pin is entered, SIM state is checked
|
||||
* by polling CPIN as their modem doesn't provide unsolicited
|
||||
|
|
Loading…
Reference in New Issue