]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit8713a7ccd88d93d9f8a72436088d6627c82490db
tree9cca393d207ed193e28d7cf40da706b88c571bf4
parenteaca90dab6ab9853223029deffdd226f41b2028c
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>
drivers/net/wireless/rt2x00/rt2x00queue.c