mac80211: fix blockack-req processing
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 30 May 2010 12:52:58 +0000 (14:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Jun 2010 18:33:02 +0000 (14:33 -0400)
commit8ae5977ff95c03fe6c36a5721c57dcb4bfe4f290
treef4817b7bfbc4011345cb7c163b2e95eaf6470490
parent397f385bdba6cdf7752467a7ae81810340929e44
mac80211: fix blockack-req processing

Daniel reported that the paged RX changes had
broken blockack request frame processing due
to using data that wasn't really part of the
skb data.

Fix this using skb_copy_bits() for the needed
data. As a side effect, this adds a check on
processing too short frames, which previously
this code could do.

Reported-by: Daniel Halperin <dhalperi@cs.washington.edu>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Daniel Halperin <dhalperi@cs.washington.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c