mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-18 00:30:47 +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:
parent
4cf5f5c4b6
commit
fc96b35cdc
@ -651,7 +651,6 @@ static void agent_exit(void)
|
|||||||
{
|
{
|
||||||
struct l_dbus *dbus = dbus_get_bus();
|
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_dbus_unregister_interface(dbus, IWD_AGENT_MANAGER_INTERFACE);
|
||||||
|
|
||||||
l_queue_destroy(agents, agent_free);
|
l_queue_destroy(agents, agent_free);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user