mt7603: ensure that the ACK flag is set for A-MPDUs with any acked subframe

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2018-04-12 12:14:23 +02:00
parent 1d23142954
commit 549f43b23e
+2
View File
@@ -959,6 +959,8 @@ mt7603_fill_txs(struct mt7603_dev *dev, struct mt7603_sta *sta,
} else {
info->status.ampdu_len = sta->ampdu_count;
info->status.ampdu_ack_len = sta->ampdu_acked;
if (info->status.ampdu_ack_len)
info->flags |= IEEE80211_TX_STAT_ACK;
}
if (ampdu || (info->flags & IEEE80211_TX_CTL_AMPDU))