mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-21 03:32:42 +01:00
scan: Reset nl80211 when scan_exit called
This commit is contained in:
parent
f064230afa
commit
3f7e6e86bb
@ -1050,5 +1050,7 @@ bool scan_exit()
|
|||||||
r = l_genl_family_unregister(nl80211, scan_id);
|
r = l_genl_family_unregister(nl80211, scan_id);
|
||||||
scan_id = 0;
|
scan_id = 0;
|
||||||
|
|
||||||
|
nl80211 = 0;
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user