dpp: unregister interface on exit

This fixes a cleanup issue where DPP tries to cleanup both on
dpp_exit() and when netdev goes down.
This commit is contained in:
James Prestwood 2022-02-15 13:16:46 -08:00 committed by Denis Kenzior
parent 06ec2a2e32
commit 429eabf042
1 changed files with 2 additions and 0 deletions

View File

@ -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);