Skip to contentSkip to conversation

mac80211: fixing null qos data frames check for reordering buffer

PATCH New Ron Rindjunsky 1 participant 1 message Jan 23, 2008 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211: fixing null qos data frames check for reordering buffer

This patch fixes a wrong condition for null qos data frames, causing us to drop data frames needed for reordering as well.

---
 net/mac80211/rx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/mac80211/rx.c +1 -1
index 6cc1e7e..1d27b17 100644
@@ -1951,7 +1951,7 @@ u8 ieee80211_rx_reorder_ampdu(struct ieee80211_local *local,
 		goto end_reorder;
 
 	/* null data frames are excluded */
-	if (unlikely(fc & IEEE80211_STYPE_QOS_NULLFUNC))
+	if (unlikely(fc & IEEE80211_STYPE_NULLFUNC))
 		goto end_reorder;
 
 	/* new un-ordered ampdu frame - process it */
Signature · 1 line
1.5.3.3