Commit 8713a7cc authored by Committed by John W. LinvilleBrowse files
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 <firstname.lastname@example.org> Signed-off-by: Stephen Blackheath <email@example.com> Acked-by: Johannes Berg <firstname.lastname@example.org> Signed-off-by: John W. Linville <email@example.com>