mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
client: special case daemon interface for non-interactive
In non-interactive mode, when a dbus method call returns the process exits. This is true for all methods except agent requests since e.g. Connect() call automatically requests credentials and the client must wait for that to return before exiting. The new daemon interface must also be treated in the same way and not exit.
This commit is contained in:
parent
ae03fcb50d
commit
4e61d04e0d
@ -315,7 +315,8 @@ static void proxy_callback(struct l_dbus_message *message, void *user_data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
proxy = callback_data->user_data;
|
proxy = callback_data->user_data;
|
||||||
if (!strcmp(proxy->type->interface, IWD_AGENT_MANAGER_INTERFACE))
|
if (!strcmp(proxy->type->interface, IWD_AGENT_MANAGER_INTERFACE) ||
|
||||||
|
!strcmp(proxy->type->interface, IWD_DAEMON_INTERFACE))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
quit:
|
quit:
|
||||||
|
Loading…
Reference in New Issue
Block a user