mon_ndev 2590 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct net_device* mon_ndev = NULL; mon_ndev 2608 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c mon_ndev = alloc_etherdev(sizeof(struct rtw_netdev_priv_indicator)); mon_ndev 2609 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!mon_ndev) { mon_ndev 2615 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c mon_ndev->type = ARPHRD_IEEE80211_RADIOTAP; mon_ndev 2616 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c strncpy(mon_ndev->name, name, IFNAMSIZ); mon_ndev 2617 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c mon_ndev->name[IFNAMSIZ - 1] = 0; mon_ndev 2618 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c mon_ndev->needs_free_netdev = true; mon_ndev 2619 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c mon_ndev->priv_destructor = rtw_ndev_destructor; mon_ndev 2621 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c mon_ndev->netdev_ops = &rtw_cfg80211_monitor_if_ops; mon_ndev 2623 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pnpi = netdev_priv(mon_ndev); mon_ndev 2636 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c mon_wdev->netdev = mon_ndev; mon_ndev 2638 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c mon_ndev->ieee80211_ptr = mon_wdev; mon_ndev 2640 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ret = register_netdevice(mon_ndev); mon_ndev 2645 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c *ndev = pwdev_priv->pmon_ndev = mon_ndev; mon_ndev 2654 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (ret && mon_ndev) { mon_ndev 2655 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c free_netdev(mon_ndev); mon_ndev 2656 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c *ndev = mon_ndev = NULL;