---
Hi,

This enables SIM detection in workstation after disabling and enabling the 
modem without rebooting the oFono.

Br,
Jussi


 plugins/ste.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/plugins/ste.c b/plugins/ste.c
index b786571..d2a6cc1 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,
-- 
1.7.1

_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to