1 --- a/net/wireless/nl80211.c
2 +++ b/net/wireless/nl80211.c
3 @@ -1813,7 +1813,7 @@ static int nl80211_get_station(struct sk
7 - * Get vlan interface making sure it is on the right wiphy.
8 + * Get vlan interface making sure it is running and on the right wiphy.
10 static int get_vlan(struct genl_info *info,
11 struct cfg80211_registered_device *rdev,
12 @@ -1831,6 +1831,8 @@ static int get_vlan(struct genl_info *in
14 if ((*vlan)->ieee80211_ptr->wiphy != &rdev->wiphy)
16 + if (!netif_running(*vlan))