diff options
-rw-r--r-- | net/mac80211/tx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 7468495d6f9c..698c8233e6b3 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -1351,6 +1351,10 @@ int ieee80211_master_start_xmit(struct sk_buff *skb, | |||
1351 | return 0; | 1351 | return 0; |
1352 | } | 1352 | } |
1353 | 1353 | ||
1354 | if (osdata->vif.type == NL80211_IFTYPE_AP_VLAN) | ||
1355 | osdata = container_of(osdata->bss, | ||
1356 | struct ieee80211_sub_if_data, | ||
1357 | u.ap); | ||
1354 | info->control.vif = &osdata->vif; | 1358 | info->control.vif = &osdata->vif; |
1355 | ret = ieee80211_tx(odev, skb); | 1359 | ret = ieee80211_tx(odev, skb); |
1356 | dev_put(odev); | 1360 | dev_put(odev); |