Home
last modified time | relevance | path

Searched refs:mon_wdev (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c2126 struct wireless_dev *mon_wdev = NULL; in rtw_cfg80211_add_monitor_if() local
2159 mon_wdev = rtw_zmalloc(sizeof(struct wireless_dev)); in rtw_cfg80211_add_monitor_if()
2160 if (!mon_wdev) { in rtw_cfg80211_add_monitor_if()
2165 mon_wdev->wiphy = padapter->rtw_wdev->wiphy; in rtw_cfg80211_add_monitor_if()
2166 mon_wdev->netdev = mon_ndev; in rtw_cfg80211_add_monitor_if()
2167 mon_wdev->iftype = NL80211_IFTYPE_MONITOR; in rtw_cfg80211_add_monitor_if()
2168 mon_ndev->ieee80211_ptr = mon_wdev; in rtw_cfg80211_add_monitor_if()
2178 if (ret && mon_wdev) { in rtw_cfg80211_add_monitor_if()
2179 kfree(mon_wdev); in rtw_cfg80211_add_monitor_if()
2180 mon_wdev = NULL; in rtw_cfg80211_add_monitor_if()