From f56a62f3f92b0ddcd3382472b04978f7c9970f65 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 9 Feb 2018 11:15:56 +0100 Subject: [PATCH] mt7603: avoid reordering qos-null data packets Signed-off-by: Felix Fietkau --- mt7603_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7603_mac.c b/mt7603_mac.c index aafc77c5..e98bb895 100644 --- a/mt7603_mac.c +++ b/mt7603_mac.c @@ -530,7 +530,7 @@ mt7603_mac_fill_rx(struct mt7603_dev *dev, struct sk_buff *skb) if (!status->wcid || !ieee80211_is_data_qos(hdr->frame_control)) return 0; - status->aggr = unicast; + status->aggr = unicast && !ieee80211_is_qos_nullfunc(hdr->frame_control); status->tid = *ieee80211_get_qos_ctl(hdr) & IEEE80211_QOS_CTL_TID_MASK; status->seqno = hdr->seq_ctrl >> 4;