Skip to content

Commit

Permalink
mac80211: fixing null qos data frames check for reordering buffer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ron Rindjunsky authored and David S. Miller committed Feb 1, 2008
1 parent e78c9d2 commit 8b6bbe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac80211/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 8b6bbe7

Please sign in to comment.