Searched refs:mon_ndev (Results 1 – 1 of 1) sorted by relevance
2125 struct net_device *mon_ndev = NULL; in rtw_cfg80211_add_monitor_if() local2141 if (!mon_ndev) { in rtw_cfg80211_add_monitor_if()2147 strncpy(mon_ndev->name, name, IFNAMSIZ); in rtw_cfg80211_add_monitor_if()2148 mon_ndev->name[IFNAMSIZ - 1] = 0; in rtw_cfg80211_add_monitor_if()2149 mon_ndev->needs_free_netdev = true; in rtw_cfg80211_add_monitor_if()2154 pnpi = netdev_priv(mon_ndev); in rtw_cfg80211_add_monitor_if()2166 mon_wdev->netdev = mon_ndev; in rtw_cfg80211_add_monitor_if()2168 mon_ndev->ieee80211_ptr = mon_wdev; in rtw_cfg80211_add_monitor_if()2183 if (ret && mon_ndev) { in rtw_cfg80211_add_monitor_if()2184 free_netdev(mon_ndev); in rtw_cfg80211_add_monitor_if()[all …]