summaryrefslogtreecommitdiffstats
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-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;