From: Felix Fietkau Date: Tue, 14 Oct 2008 21:57:43 +0000 (+0200) Subject: rt2x00: fix regression introduced by "mac80211: free up 2 bytes in skb->cb" X-Git-Tag: v2.6.28-rc1~292^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8713a7ccd88d93d9f8a72436088d6627c82490db;p=pandora-kernel.git 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 Signed-off-by: Stephen Blackheath Acked-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed