summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-05-26 16:15:34 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-05-26 16:15:34 +0200
commitec4ba8a6fcc18d4b08067ffc5ff708862a6e74a6 (patch)
tree8bee40b8bcee7862793fa62a0ba0d0d297f4c1e5
parent3f191c3397aacec593f9a6dc9f81d6f0c9ce5bfb (diff)
downloadofono-ec4ba8a6fcc18d4b08067ffc5ff708862a6e74a6.tar.bz2
atmodem: Enable Icera radio access technology updates
-rw-r--r--drivers/atmodem/network-registration.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
index bc553712..3d099135 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -1618,6 +1618,10 @@ static void at_creg_set_cb(gboolean ok, GAtResult *result, gpointer user_data)
g_at_chat_send(nd->chat, "AT%NWSTATE=1", none_prefix,
NULL, NULL, NULL);
+ /* Register for radio access technology updates */
+ g_at_chat_send(nd->chat, "AT*TRATD=1", none_prefix,
+ NULL, NULL, NULL);
+
/* Register for network time update reports */
g_at_chat_register(nd->chat, "*TLTS:", tlts_notify,
FALSE, netreg, NULL);