]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mac80211: fixing null qos data frames check for reordering buffer
authorRon Rindjunsky <ron.rindjunsky@intel.com>
Wed, 23 Jan 2008 16:17:13 +0000 (18:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:26:38 +0000 (19:26 -0800)
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 <ron.rindjunsky@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/rx.c

index 1ccd32933eb73e58985e13374ececdb064d0c43e..d44c87269bcb782d697e0370ef21fcc3c2ea15e4 100644 (file)
@@ -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 */