All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ste: enable multiple oFono runs without restarting the oFono
@ 2011-03-03 11:45 Jussi Kangas
  2011-03-03 19:43 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Jussi Kangas @ 2011-03-03 11:45 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

---
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-03 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 11:45 [PATCH] ste: enable multiple oFono runs without restarting the oFono Jussi Kangas
2011-03-03 19:43 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.