<[email protected]> writes:

> Hi Kalle,
>
>>> +     reply = dbus_connection_send_with_reply_and_block(connection,
>>> +                             message, -1, &error);
>
>> connman must never block, instead we need to use async interfaces.
>
> I intentionally made the call blocking since the system_available will
> be set to TRUE only if we get a reply from Introspect method. This
> also indicates that wpa_supplicant was indeed started in case it was
> not already running.

Still it's wrong, connman should not block anywhere. When it's blocking
on something no other events are handled and that's bound to create
problems.

-- 
Kalle Valo
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to