mac80211: don't handle filtered frames within a BA session

am: 3981384999

Change-Id: Ib18afd2b459eca059c16750a33dbcc8a0386f0e8
This commit is contained in:
Felix Fietkau
2017-03-15 02:24:50 +00:00
committed by android-build-merger

View File

@@ -51,7 +51,8 @@ static void ieee80211_handle_filtered_frame(struct ieee80211_local *local,
struct ieee80211_hdr *hdr = (void *)skb->data;
int ac;
if (info->flags & IEEE80211_TX_CTL_NO_PS_BUFFER) {
if (info->flags & (IEEE80211_TX_CTL_NO_PS_BUFFER |
IEEE80211_TX_CTL_AMPDU)) {
ieee80211_free_txskb(&local->hw, skb);
return;
}