commit 429eabf04229937258d1ac2fb2c25442b2ea69c4
parent 06ec2a2e327f14f28bb1e353f2cb7c9a8cab3a90
Author: James Prestwood <prestwoj@gmail.com>
Date: Tue, 15 Feb 2022 13:16:46 -0800
dpp: unregister interface on exit
This fixes a cleanup issue where DPP tries to cleanup both on
dpp_exit() and when netdev goes down.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/dpp.c b/src/dpp.c
@@ -1941,6 +1941,8 @@ static void dpp_exit(void)
{
l_debug("");
+ l_dbus_unregister_interface(dbus_get_bus(), IWD_DPP_INTERFACE);
+
netdev_watch_remove(netdev_watch);
l_genl_family_unregister(nl80211, mlme_watch);