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)
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>

No differences found