mirror of
https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
synced 2025-08-16 08:34:15 +02:00
os_dep/linux/os_intfs.c: Do not set iftype to monitor when closing dev
Signed-off-by: Andreas Hofmann <andreas.hofmann@corscience.de>
This commit is contained in:
parent
935057fae7
commit
3b10010709
@ -3407,7 +3407,6 @@ static int netdev_close(struct net_device *pnetdev)
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
rtw_scan_abort(padapter);
|
||||
wdev_to_priv(padapter->rtw_wdev)->bandroid_scan = _FALSE;
|
||||
padapter->rtw_wdev->iftype = NL80211_IFTYPE_MONITOR; //set this at the end
|
||||
#endif //CONFIG_IOCTL_CFG80211
|
||||
|
||||
#ifdef CONFIG_WAPI_SUPPORT
|
||||
|
Loading…
x
Reference in New Issue
Block a user