From ba289be43f8d02db7d2d450cf7f2d4a3e782b5f5 Mon Sep 17 00:00:00 2001 From: Christian B Date: Thu, 8 Mar 2018 09:07:54 +0100 Subject: [PATCH] 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. --- os_dep/linux/ioctl_cfg80211.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index d30cbe5..8a7e088 100644 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -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;