From 429eabf04229937258d1ac2fb2c25442b2ea69c4 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Tue, 15 Feb 2022 13:16:46 -0800 Subject: [PATCH] dpp: unregister interface on exit This fixes a cleanup issue where DPP tries to cleanup both on dpp_exit() and when netdev goes down. --- src/dpp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dpp.c b/src/dpp.c index d95217c5..f6ccb926 100644 --- 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);