atmodem: Poll SIM state after entering PIN
authorCedric Jehasse <cedric.jehasse@softathome.com>
Fri, 9 Nov 2012 13:16:53 +0000 (14:16 +0100)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 12 Nov 2012 19:30:38 +0000 (13:30 -0600)
commit5f9c1e9e34ddc1f0cb8a607fc1c18b9b7569f68a
tree98c736066618e12c73e6ef97a1269ba459a7c67f
parent0f242c9714786b3d2e6ba204f4e2eca082013355
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.
drivers/atmodem/sim.c