mirror of git://git.sysmocom.de/ofono
voicecall: Free settings when sim gets locked out
This commit is contained in:
parent
c6c01110ec
commit
aa58348bbc
|
@ -2689,7 +2689,8 @@ static void sim_state_watch(enum ofono_sim_state new_state, void *user)
|
|||
case OFONO_SIM_STATE_READY:
|
||||
voicecall_load_settings(vc);
|
||||
break;
|
||||
default:
|
||||
case OFONO_SIM_STATE_LOCKED_OUT:
|
||||
voicecall_close_settings(vc);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue