voicecall: Handle RESETTING sim state
authorDenis Kenzior <denkenz@gmail.com>
Thu, 22 Nov 2012 12:56:33 +0000 (06:56 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 22 Nov 2012 12:57:04 +0000 (06:57 -0600)
src/voicecall.c

index 45dfac2..900477d 100644 (file)
@@ -2834,6 +2834,7 @@ static void sim_state_watch(enum ofono_sim_state new_state, void *user)
                                                read_sim_ecc_numbers, vc, NULL);
                break;
        case OFONO_SIM_STATE_NOT_PRESENT:
+       case OFONO_SIM_STATE_RESETTING:
                /* TODO: Must release all non-emergency calls */
 
                if (vc->sim_context) {