summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/network-registration.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-28 19:05:29 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-10-28 19:05:29 +0200
commited7a22c86740458f59816b907ec283321c9cc9e6 (patch)
tree6c6ba77d575816270d2cf4f2cb7dfe9c63888f6a /drivers/atmodem/network-registration.c
parent969e242d72b8dc9b6d4fd75dc8ab0dcb2e3a964d (diff)
downloadofono-ed7a22c86740458f59816b907ec283321c9cc9e6.tar.bz2
atmodem: Time reporting on Infineon modem is IFX specific
The time reporting via +CTZV and +CTZDST on the Infineon modem is not following the standard. So mark these clearly as IFX specific.
Diffstat (limited to 'drivers/atmodem/network-registration.c')
-rw-r--r--drivers/atmodem/network-registration.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
index a7e245f1..ee39f8f9 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -697,7 +697,7 @@ static void ciev_notify(GAtResult *result, gpointer user_data)
ofono_netreg_strength_notify(netreg, strength);
}
-static void ctzv_notify(GAtResult *result, gpointer user_data)
+static void ifx_ctzv_notify(GAtResult *result, gpointer user_data)
{
struct ofono_netreg *netreg = user_data;
struct netreg_data *nd = ofono_netreg_get_data(netreg);
@@ -730,7 +730,7 @@ static void ctzv_notify(GAtResult *result, gpointer user_data)
nd->time.year = 2000 + year;
}
-static void ctzdst_notify(GAtResult *result, gpointer user_data)
+static void ifx_ctzdst_notify(GAtResult *result, gpointer user_data)
{
struct ofono_netreg *netreg = user_data;
struct netreg_data *nd = ofono_netreg_get_data(netreg);
@@ -1204,9 +1204,9 @@ static void at_creg_set_cb(gboolean ok, GAtResult *result, gpointer user_data)
NULL, NULL, NULL);
/* Register for network time update reports */
- g_at_chat_register(nd->chat, "+CTZV:", ctzv_notify,
+ g_at_chat_register(nd->chat, "+CTZV:", ifx_ctzv_notify,
FALSE, netreg, NULL);
- g_at_chat_register(nd->chat, "+CTZDST:", ctzdst_notify,
+ g_at_chat_register(nd->chat, "+CTZDST:", ifx_ctzdst_notify,
FALSE, netreg, NULL);
g_at_chat_send(nd->chat, "AT+CTZR=1", none_prefix,
NULL, NULL, NULL);