projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e1235
)
telit: disable auto attach procedures with AUTOATT
author
Christopher Vogl
<christopher.vogl@hale.at>
Tue, 21 Aug 2012 15:06:37 +0000
(17:06 +0200)
committer
Denis Kenzior
<denkenz@gmail.com>
Tue, 21 Aug 2012 19:34:31 +0000
(14:34 -0500)
plugins/telit.c
patch
|
blob
|
history
diff --git
a/plugins/telit.c
b/plugins/telit.c
index
20ab1df
..
ec57f01
100644
(file)
--- a/
plugins/telit.c
+++ b/
plugins/telit.c
@@
-314,6
+314,13
@@
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);