Hi Denis,
* Denis Kenzior <[email protected]> [2010-11-23 05:04:40 -0600]:
> Hi Gustavo,
>
> On 11/19/2010 03:36 PM, Gustavo F. Padovan wrote:
> > ---
> > src/modem.c | 74
> > ++++++++++++++++++++++++++++++++--------------------------
> > 1 files changed, 41 insertions(+), 33 deletions(-)
> >
>
> Ah ok, you implement the getting back to online process in this patch.
> Ignore my previous comment.
>
> > diff --git a/src/modem.c b/src/modem.c
> > index e57f8fc..704de29 100644
> > --- a/src/modem.c
> > +++ b/src/modem.c
> > @@ -61,6 +61,7 @@ enum modem_state {
> > struct ofono_modem {
> > char *path;
> > enum modem_state modem_state;
> > + enum modem_state old_state;
>
> Can we simply use a boolean like 'get_online' that is FALSE by default,
> but gets set to TRUE (assuming we're online) during a silent reset?
> This can then get re-used for implementing of the Lockdown property as well.
Yeah, I'm reusing it there.
>
> It also seems that the 'reset' value is not really needed.
I'm using that to avoid emit DBus signal during the silent reset, Not
seeing how to do that without modem->reset, maybe we can rely on
modem->pending, not sure yet.
--
Gustavo F. Padovan
http://profusion.mobi
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono