mirror of
https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
synced 2025-08-16 08:34:15 +02:00
os_dep/linux/ioctl_cfg80211.c: Set iftype to station when allocating wdev
Signed-off-by: Andreas Hofmann <andreas.hofmann@corscience.de>
This commit is contained in:
parent
3b10010709
commit
d6d0ba7221
@ -5294,8 +5294,7 @@ int rtw_wdev_alloc(_adapter *padapter, struct device *dev)
|
||||
}
|
||||
wdev->wiphy = wiphy;
|
||||
wdev->netdev = pnetdev;
|
||||
//wdev->iftype = NL80211_IFTYPE_STATION;
|
||||
wdev->iftype = NL80211_IFTYPE_MONITOR; // for rtw_setopmode_cmd() in cfg80211_rtw_change_iface()
|
||||
wdev->iftype = NL80211_IFTYPE_STATION;
|
||||
padapter->rtw_wdev = wdev;
|
||||
pnetdev->ieee80211_ptr = wdev;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user