All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] telit: disable auto attach procedures with AUTOATT
@ 2012-08-16  9:48 Christopher Vogl
  2012-08-16  6:26 ` Denis Kenzior
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Vogl @ 2012-08-16  9:48 UTC (permalink / raw)
  To: ofono

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

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

diff --git a/plugins/telit.c b/plugins/telit.c
index 6ae7249..feedd18 100644
--- a/plugins/telit.c
+++ b/plugins/telit.c
@@ -307,6 +307,12 @@ static void cfun_enable_cb(gboolean ok, GAtResult *result, gpointer user_data)
 
 	ofono_modem_set_powered(m, TRUE);
 
+	/*
+	 * Tell the modem not to automatically initiate auto-attach
+	 * proceedures on its own.
+	 */
+	g_at_chat_send(data->chat, "AT#AUTOATT=0", none_prefix, NULL, NULL, NULL);
+
 	/* Enable sim state notification */
 	g_at_chat_send(data->chat, "AT#QSS=1", none_prefix, NULL, NULL, NULL);
 
-- 
1.7.7.6


--
Scanned by MailScanner.


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

end of thread, other threads:[~2012-08-21 19:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16  9:48 [PATCH] telit: disable auto attach procedures with AUTOATT Christopher Vogl
2012-08-16  6:26 ` Denis Kenzior
2012-08-20 11:11   ` Christopher Vogl
2012-08-20 13:23     ` Denis Kenzior
2012-08-21 15:06       ` Christopher Vogl
2012-08-21 19:35         ` 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.