Hi Daniel,
> The statistic counters should be updated as soon the
> interface enters LOWER_UP state ('cable' connected).
>
> Therefore we do not depend on the state of the
> Service object, which fixes also the shortcoming
> we have currently with private connections. Those
> services do not enter the ONLINE state.
>
> At least for ethernet the lower_up callback
> has not been called because the service was
> createt 'too late'.
I don't see anything wrong with this patch. So just applied it and we
can test it a bit.
One problem I found is that you don't initialize the time correctly from
the storage. So every time connmand restarts or we reboot, the time
starts at zero. That needs to be fixed.
Regards
Marcel
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman