Lines Matching refs:netdev
165 if (!wdev->netdev) in cfg80211_switch_netns()
167 wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns()
168 err = dev_change_net_namespace(wdev->netdev, net, "wlan%d"); in cfg80211_switch_netns()
171 wdev->netdev->features |= NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns()
181 if (!wdev->netdev) in cfg80211_switch_netns()
183 wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns()
184 err = dev_change_net_namespace(wdev->netdev, net, in cfg80211_switch_netns()
187 wdev->netdev->features |= NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns()
194 if (!wdev->netdev) in cfg80211_switch_netns()
207 if (!wdev->netdev) in cfg80211_switch_netns()
270 if (wdev->netdev) { in cfg80211_shutdown_all_interfaces()
271 dev_close(wdev->netdev); in cfg80211_shutdown_all_interfaces()
1123 if (wdev->netdev) in __cfg80211_unregister_wdev()
1131 if (WARN_ON(wdev->netdev)) in cfg80211_unregister_wdev()
1155 struct net_device *dev = wdev->netdev; in __cfg80211_leave()
1269 wdev->netdev->priv_flags |= IFF_DONT_BRIDGE; in cfg80211_init_wdev()
1310 wdev->netdev = dev; in cfg80211_netdev_notifier_call()
1342 if (WARN_ON(pos->dev == wdev->netdev)) in cfg80211_netdev_notifier_call()