voicecall: Free settings when sim gets locked out

This commit is contained in:
Denis Kenzior 2011-07-19 15:07:02 -05:00
parent c6c01110ec
commit aa58348bbc
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}