Re: [PATCH 1/2] qmi: report failure or retry in case of invalid pin type

2018-04-19 Thread Denis Kenzior
Hi Christophe, On 04/13/2018 08:58 AM, Christophe Ronco wrote: QMI_UIM_GET_CARD_STATUS is retried in more error cases when trying to get password type. In case of failure, driver report an error instead of OFONO_SIM_PASSWORD_INVALID. This avoids a crash. --- drivers/qmimodem/sim.c | 19

[PATCH 1/2] qmi: report failure or retry in case of invalid pin type

2018-04-13 Thread Christophe Ronco
QMI_UIM_GET_CARD_STATUS is retried in more error cases when trying to get password type. In case of failure, driver report an error instead of OFONO_SIM_PASSWORD_INVALID. This avoids a crash. --- drivers/qmimodem/sim.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-)