|
@@ -2885,7 +2885,7 @@ ieee80211_get_buffered_bc(struct ieee80211_hw *hw,
|
|
cpu_to_le16(IEEE80211_FCTL_MOREDATA);
|
|
cpu_to_le16(IEEE80211_FCTL_MOREDATA);
|
|
}
|
|
}
|
|
|
|
|
|
- if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
|
|
|
|
|
|
+ if (sdata->vif.type == NL80211_IFTYPE_AP)
|
|
sdata = IEEE80211_DEV_TO_SUB_IF(skb->dev);
|
|
sdata = IEEE80211_DEV_TO_SUB_IF(skb->dev);
|
|
if (!ieee80211_tx_prepare(sdata, &tx, skb))
|
|
if (!ieee80211_tx_prepare(sdata, &tx, skb))
|
|
break;
|
|
break;
|