On Mon, 2013-12-02 at 12:41 +0000, Potrola, MateuszX wrote:
> I think that I found the real root of problem, but just want to be
> sure before submitting new patch. Should __connman_notifier_disconnect
> be also called after service transition from online/ready to
> configuration (which happens when setting new ip configuration for
> service), currently it is called only when service goes to
> disconnected or failure state. I think that the problem is that during
> next transition (from configuration to ready)
> __connman_notifier_connect is called, which is causing Technology
> Connected property going out of sync.

Indeed. So a connection added when entering 'ready' from everything
except 'online', likewise a connection should be removed when _leaving_
'ready' or 'online' but in the latter case only when not going back to
'ready'. Please send a patch that fixes this and clears up the changes I
recently made.

Cheers,

        Patrik


_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to