1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-09 23:57:00 +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:
Christian B 2018-03-08 09:07:54 +01:00 committed by GitHub
parent 3d3ba36828
commit ba289be43f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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