summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-08-20 14:01:01 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-08-20 14:01:01 +0200
commit5086d5ba6ffcce09d83dafb30b501db7da32b62e (patch)
tree364d72f828cbfa9ba162cca6c48f5929534dde86
parent50b7a88666c9979e8416dd4b26020753197aca03 (diff)
downloadhardware_ril_samsung-ril-5086d5ba6ffcce09d83dafb30b501db7da32b62e.zip
hardware_ril_samsung-ril-5086d5ba6ffcce09d83dafb30b501db7da32b62e.tar.gz
hardware_ril_samsung-ril-5086d5ba6ffcce09d83dafb30b501db7da32b62e.tar.bz2
misc: IMSI requires SIM ready state
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 7668022..81bf371 100644
--- a/misc.c
+++ b/misc.c
@@ -110,7 +110,7 @@ int ril_request_get_imsi(void *data, size_t size, RIL_Token token)
struct ril_request *request;
int rc;
- rc = ril_radio_state_check(RADIO_STATE_SIM_NOT_READY);
+ rc = ril_radio_state_check(RADIO_STATE_SIM_READY);
if (rc < 0)
return RIL_REQUEST_UNHANDLED;