From aa58348bbc9a24ca02d0982ad05a282513992477 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 19 Jul 2011 15:07:02 -0500 Subject: [PATCH] voicecall: Free settings when sim gets locked out --- src/voicecall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/voicecall.c b/src/voicecall.c index 8815d9e2..9160ce8d 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -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; } }