From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [PATCH] atmodem: Enable network time for AT modem
Date: Tue, 08 Mar 2011 09:12:39 -0800 [thread overview]
Message-ID: <1299604359.2497.5.camel@aeonflux> (raw)
In-Reply-To: <1299573784-21478-1-git-send-email-antti.paila@nokia.com>
[-- Attachment #1: Type: text/plain, Size: 881 bytes --]
Hi Antti,
> drivers/atmodem/network-registration.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
> index 4913611..2d589f0 100644
> --- a/drivers/atmodem/network-registration.c
> +++ b/drivers/atmodem/network-registration.c
> @@ -722,6 +722,8 @@ static void ifx_ctzv_notify(GAtResult *result, gpointer user_data)
> nd->time.mday = mday;
> nd->time.mon = mon;
> nd->time.year = 2000 + year;
> +
> + ofono_netreg_time_notify(netreg, &nd->time);
> }
>
> static void ifx_ctzdst_notify(GAtResult *result, gpointer user_data)
actually this time notification is a bad idea since you will notify
twice now. With the firmware that I tested this with, it is guaranteed
to always get CTZV and CTZDST and in that order.
Regards
Marcel
next prev parent reply other threads:[~2011-03-08 17:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-08 8:43 [PATCH] atmodem: Enable network time for AT modem Antti Paila
2011-03-08 8:59 ` Jeevaka.Badrappan
2011-03-08 9:44 ` Antti Paila
2011-03-08 10:35 ` Jeevaka.Badrappan
2011-03-08 13:16 ` Aki Niemi
2011-03-08 13:22 ` Jeevaka.Badrappan
2011-03-08 17:12 ` Marcel Holtmann [this message]
2011-03-08 17:46 ` Jeevaka.Badrappan
2011-03-11 12:55 ` Antti Paila
2011-03-11 21:54 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1299604359.2497.5.camel@aeonflux \
--to=marcel@holtmann.org \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox