mac80211: don't inspect Sequence Control field on control frames
authorJavier Cardona <javier@cozybit.com>
Thu, 25 Oct 2012 18:10:18 +0000 (11:10 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 16 Nov 2012 16:46:56 +0000 (16:46 +0000)
commit600c1eef55f14967c43819a34108ca2c7dabbbdd
tree2106cc2b0ff4389ef4f72f426e8af8738c96b4db
parente39761ee8faf2e80dc4ad22bfac43a122d9fd3a8
mac80211: don't inspect Sequence Control field on control frames

commit f7fbf70ee9db6da6033ae50d100e017ac1f26555 upstream.

Per IEEE Std. 802.11-2012, Sec 8.2.4.4.1, the sequence Control field is
not present in control frames.  We noticed this problem when processing
Block Ack Requests.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Javier Lopez <jlopex@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/mac80211/rx.c