atmodem: Handle SIM busy condition gracefully for phonebooks
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 29 Jul 2011 15:33:22 +0000 (17:33 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 29 Jul 2011 15:35:44 +0000 (17:35 +0200)
commitd41b584de51a534ac09303a957f3492eab34753e
tree1dddad28e58e76223e707fdaf5b22ca5607d5dd3
parent5029b906aa215c3e8edd7c7df63cbc2605b218d9
atmodem: Handle SIM busy condition gracefully for phonebooks

Before the phonebook is ready, the SIM card needs certain amount of
time. Something between 20-30 seconds in general. So if the modem
returns an error indicating the SIM is busy, then try again in
regular intervals.
drivers/atmodem/phonebook.c