3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

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

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