Skip to contentSkip to conversation

dpp: unregister interface on exit

PATCH Applied James Prestwood 2 participants 2 messages Feb 15, 2022

lore
Share & tools
lore

James Prestwood

author
#0 lore raw

PATCH 1/1 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(+)
src/dpp.c +2 -0
index d95217c5..f6ccb926 100644
@@ -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);
Signature · 1 line
2.34.1
Applied
#1 lore raw

Hi James,

Quoted 6 lines · James Prestwood

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(+)

Applied, thanks.

Regards,
-Denis