diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-02-09 13:50:22 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-02-09 13:50:22 +0100 |
commit | 1875ad88e925296397c93396871d7a3fd1c6ef79 (patch) | |
tree | 13a718ef3d63a9c46df668785e6eb9973d57d47f | |
parent | 2c657d85c056caaa35e9cbc5c4dd9c81051f9ae1 (diff) | |
download | hardware_ril_samsung-ril-1875ad88e925296397c93396871d7a3fd1c6ef79.zip hardware_ril_samsung-ril-1875ad88e925296397c93396871d7a3fd1c6ef79.tar.gz hardware_ril_samsung-ril-1875ad88e925296397c93396871d7a3fd1c6ef79.tar.bz2 |
sec: Do not consider absent SIM state as unknown
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r-- | sec.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -62,6 +62,7 @@ ril_sim_state ipc2ril_sim_state(struct ipc_sec_sim_status_response *pin_status) case IPC_SEC_SIM_STATUS_INSIDE_PF_ERROR: case IPC_SEC_SIM_STATUS_CARD_NOT_PRESENT: case IPC_SEC_SIM_STATUS_CARD_ERROR: + return SIM_STATE_ABSENT; default: LOGE("Unknown SIM status: 0x%x", pin_status->status); return SIM_STATE_ABSENT; |