2008-01-23 16:17:25

by Ron Rindjunsky

[permalink] [raw]
Subject: [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.

Signed-off-by: Ron Rindjunsky <[email protected]>
---
net/mac80211/rx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 6cc1e7e..1d27b17 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -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 */
--
1.5.3.3