diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-08-03 23:26:53 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-08-03 23:26:53 +0200 |
commit | eea276a0a83fd4738c9cfc3987de1571bfc79e38 (patch) | |
tree | dafda822258e9ef47a7a784b8b82a193177c43aa /drivers/atmodem/network-registration.c | |
parent | 39ba2e7bcc45b4631622fdc70ea4df1e1922c11d (diff) | |
download | ofono-eea276a0a83fd4738c9cfc3987de1571bfc79e38.tar.bz2 |
atmodem: Enable timezone reporting for ZTE modems
Diffstat (limited to 'drivers/atmodem/network-registration.c')
-rw-r--r-- | drivers/atmodem/network-registration.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c index de025c2b..3bee1a25 100644 --- a/drivers/atmodem/network-registration.c +++ b/drivers/atmodem/network-registration.c @@ -1409,6 +1409,12 @@ static void at_creg_set_cb(gboolean ok, GAtResult *result, gpointer user_data) NULL, NULL, NULL); break; case OFONO_VENDOR_ZTE: + /* Register for network time update reports */ + g_at_chat_register(nd->chat, "+CTZV:", ctzv_notify, + FALSE, netreg, NULL); + g_at_chat_send(nd->chat, "AT+CTZR=1", none_prefix, + NULL, NULL, NULL); + break; case OFONO_VENDOR_NOKIA: /* Signal strength reporting via CIND is not supported */ break; |