3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-26 01:02:35 +01:00

agent: Don't remove object at IWD_AGENT_MANAGER_PATH

This same object is used for the P2P service manager, let each module
remove the interfaces it added only.

Reported-by: Denis Kenzior
This commit is contained in:
Andrew Zaborowski 2020-07-16 02:12:24 +02:00 committed by Denis Kenzior
parent 4cf5f5c4b6
commit fc96b35cdc

View File

@ -651,7 +651,6 @@ static void agent_exit(void)
{
struct l_dbus *dbus = dbus_get_bus();
l_dbus_unregister_object(dbus, IWD_AGENT_MANAGER_PATH);
l_dbus_unregister_interface(dbus, IWD_AGENT_MANAGER_INTERFACE);
l_queue_destroy(agents, agent_free);