ste: Reset have_sim appropriately

This commit is contained in:
Jussi Kangas 2011-03-03 13:45:12 +02:00 committed by Denis Kenzior
parent c6e81f7fb3
commit 50b71d75c7
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@ static gboolean init_sim_reporting(gpointer user_data)
{
struct ofono_modem *modem = user_data;
struct ste_data *data = ofono_modem_get_data(modem);
data->have_sim = FALSE;
g_at_chat_send(data->chat, "AT*ESIMSR=1;*ESIMSR?", NULL,
handle_sim_state,