Commit 8b6bbe75384417d3f5edafcb45d2f67415e9cc00
Committed by
David S. Miller
1 parent
e78c9d2857
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
net/mac80211/rx.c
... | ... | @@ -1972,7 +1972,7 @@ |
1972 | 1972 | goto end_reorder; |
1973 | 1973 | |
1974 | 1974 | /* null data frames are excluded */ |
1975 | - if (unlikely(fc & IEEE80211_STYPE_QOS_NULLFUNC)) | |
1975 | + if (unlikely(fc & IEEE80211_STYPE_NULLFUNC)) | |
1976 | 1976 | goto end_reorder; |
1977 | 1977 | |
1978 | 1978 | /* new un-ordered ampdu frame - process it */ |