From 5086d5ba6ffcce09d83dafb30b501db7da32b62e Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Wed, 20 Aug 2014 14:01:01 +0200 Subject: misc: IMSI requires SIM ready state Signed-off-by: Paul Kocialkowski --- misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1