summaryrefslogtreecommitdiffstats
path: root/plugins/ste.c
diff options
context:
space:
mode:
authorJussi Kangas <jussi.kangas@tieto.com>2011-03-03 13:45:12 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-03-03 13:42:25 -0600
commit50b71d75c7b7ebc0b3696af132ff580776441da4 (patch)
tree9d0ca875a0081b0bb1163ab9ed7ee7d95b6cff41 /plugins/ste.c
parentc6e81f7fb31b411101980d7357c2cdd3d6f3fbfd (diff)
downloadofono-50b71d75c7b7ebc0b3696af132ff580776441da4.tar.bz2
ste: Reset have_sim appropriately
Diffstat (limited to 'plugins/ste.c')
-rw-r--r--plugins/ste.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ste.c b/plugins/ste.c
index b7865717..d2a6cc12 100644
--- a/plugins/ste.c
+++ b/plugins/ste.c
@@ -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,