Hi,

>> Ofono can signal new configuration while context is active and therefore
>> set_connected needs to be called.
>> --- a/plugins/ofono.c
>> +++ b/plugins/ofono.c
>> +
>> +             if (modem->active && modem->context->index > -1)
>> +                     set_connected(modem);
>>       } else if (g_str_equal(key, "IPv6.Settings")) {
>>               DBG("%s IPv6.Settings", modem->path);
>>
>>               extract_ipv6_settings(&value, modem->context);
>> +
>> +             if (modem->active && modem->context->index > -1)
>> +                     set_connected(modem);
>Why does set_connected() not wait until all properties are checked?

1) RIL signals to ofono that the context is active.
2) ofono can't know if there will be additional signals or not, how long to to 
wait for?
3) IMO, the changes from signaled changes from ofono should be taken in use.

Br,
Pasi
_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to