From: Ron Rindjunsky Date: Wed, 23 Jan 2008 16:17:13 +0000 (+0200) Subject: mac80211: fixing null qos data frames check for reordering buffer X-Git-Tag: v2.6.25-rc1~1089^2~166 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8b6bbe75384417d3f5edafcb45d2f67415e9cc00;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: John W. Linville Signed-off-by: David S. Miller --- diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 1ccd32933eb..d44c87269bc 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -1972,7 +1972,7 @@ static 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 */