Hi Denis,

2011/1/19 Denis Kenzior <[email protected]>:
>> +     if (gprs->netreg == NULL) {
>> +             gprs_netreg_removed(gprs);
>> +             return;
>> +     }
>> +
>
> I'm having trouble visualizing why this chunk is necessary.  We reset
> netreg to NULL only when shutting down the atom or when netreg atom goes
> away.  So this condition should never be triggered.

It is for the case where the gprs atom is inserted in post_sim but
netreg in post_online.

-- 
Pekka.Pessi mail at nokia.com
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to