mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 23:54:24 +00:00
Remove virtual interface partially broken test
* Tested "virtual interface" support, it was working on setting adapter to monitor mode with "airmon-ng", but when putting back to managed mode, kernel does panic and stall. Needs more work before it's added, therefor.. removing for now.
This commit is contained in:
parent
3d3ba36828
commit
ba289be43f
@ -3767,11 +3767,6 @@ static int rtw_cfg80211_add_monitor_if(_adapter *padapter, char *name, struct ne
|
||||
mon_wdev->iftype = NL80211_IFTYPE_MONITOR;
|
||||
mon_ndev->ieee80211_ptr = mon_wdev;
|
||||
|
||||
SET_NETDEV_DEV(mon_ndev, wiphy_dev(pwdev_priv->rtw_wdev->wiphy));
|
||||
|
||||
memcpy(mon_ndev->dev_addr, padapter->pnetdev->dev_addr, ETH_ALEN);
|
||||
memcpy(mon_ndev->perm_addr, padapter->pnetdev->perm_addr, ETH_ALEN);
|
||||
|
||||
ret = register_netdevice(mon_ndev);
|
||||
if (ret)
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user