[ofono-autoconnect RFC 7/9] ofono: retry autoconnect when gprs gets attached

Pekka Pessi ppessi at gmail.com
Tue Jan 18 14:19:44 PST 2011


Hi Marcel,

2011/1/18 Marcel Holtmann <marcel at holtmann.org>:
>> +     for (g_hash_table_iter_init(&i, network_hash);
>> +          g_hash_table_iter_next(&i, NULL, &value);) {
>> +             struct connman_network *network = value;
>
> don't you think a while loop would look a bit simpler?

Well, I can try to squeeze it on single line. ;)

Looks like there is no increment step, so while would be cleaner. I'll
change that.

-- 
Pekka.Pessi mail at nokia.com



More information about the connman mailing list