Felix Fietkau 8713a7ccd8 rt2x00: fix regression introduced by "mac80211: free up 2 bytes in skb->cb"
The hw_key pointer is used (and obviously NULL) after skb->cb is
memset to 0. This patch grabs the iv_len before the memset call.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Stephen Blackheath <tramp.enshrine.stephen@blacksapphire.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-10-14 21:12:39 -04:00
..
2008-08-22 16:29:58 -04:00
2008-09-15 16:48:23 -04:00
2008-08-22 16:29:58 -04:00
2008-02-29 15:19:22 -05:00
2008-02-29 15:19:27 -05:00
2008-09-24 16:18:03 -04:00
2008-06-26 16:49:16 -04:00
2008-08-29 16:24:12 -04:00
2008-08-02 01:31:09 -07:00
2008-09-24 16:18:03 -04:00
2008-09-24 16:18:03 -04:00