diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-01-23 11:17:13 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 22:26:38 -0500 |
commit | 8b6bbe75384417d3f5edafcb45d2f67415e9cc00 (patch) | |
tree | 6a4a3a63fed89104e1d5e4c7eb88a29b7e79dc7f /net/mac80211 | |
parent | e78c9d285709f535caae405f1da5b2936f51f0b5 (diff) |
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 <ron.rindjunsky@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | 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 1ccd32933eb7..d44c87269bcb 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, | |||
1972 | goto end_reorder; | 1972 | goto end_reorder; |
1973 | 1973 | ||
1974 | /* null data frames are excluded */ | 1974 | /* null data frames are excluded */ |
1975 | if (unlikely(fc & IEEE80211_STYPE_QOS_NULLFUNC)) | 1975 | if (unlikely(fc & IEEE80211_STYPE_NULLFUNC)) |
1976 | goto end_reorder; | 1976 | goto end_reorder; |
1977 | 1977 | ||
1978 | /* new un-ordered ampdu frame - process it */ | 1978 | /* new un-ordered ampdu frame - process it */ |