diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/tx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index c592a413bad9..0d74f2459585 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -2755,7 +2755,8 @@ ieee80211_get_buffered_bc(struct ieee80211_hw *hw, | |||
2755 | cpu_to_le16(IEEE80211_FCTL_MOREDATA); | 2755 | cpu_to_le16(IEEE80211_FCTL_MOREDATA); |
2756 | } | 2756 | } |
2757 | 2757 | ||
2758 | sdata = IEEE80211_DEV_TO_SUB_IF(skb->dev); | 2758 | if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) |
2759 | sdata = IEEE80211_DEV_TO_SUB_IF(skb->dev); | ||
2759 | if (!ieee80211_tx_prepare(sdata, &tx, skb)) | 2760 | if (!ieee80211_tx_prepare(sdata, &tx, skb)) |
2760 | break; | 2761 | break; |
2761 | dev_kfree_skb_any(skb); | 2762 | dev_kfree_skb_any(skb); |