rt2x00: fix regression introduced by "mac80211: free up 2 bytes in skb->cb"
authorFelix Fietkau <nbd@openwrt.org>
Tue, 14 Oct 2008 21:57:43 +0000 (23:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Oct 2008 01:12:39 +0000 (21:12 -0400)
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>

No differences found