commit | 8713a7ccd88d93d9f8a72436088d6627c82490db | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Tue Oct 14 23:57:43 2008 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Oct 14 21:12:39 2008 -0400 |
tree | 9cca393d207ed193e28d7cf40da706b88c571bf4 | |
parent | eaca90dab6ab9853223029deffdd226f41b2028c [diff] |
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>