nl80211: add missing parameter clearing
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 25 Jul 2009 14:54:36 +0000 (16:54 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Jul 2009 19:46:06 +0000 (15:46 -0400)
commitc0b2bbd833a5a26b5a9425cb9a7eb66bbe736dd1
tree61c4b2279ef24c0d6f389da851fff79c83100eff
parentcbdec9758736c30ecbb03651b0c2915c442a5895
nl80211: add missing parameter clearing

Jouni and Maxim reported an oops when using wpa_supplicant -Dnl80211,
which seems to be due to random data being contained in the crypto
settings for the assoc() command. This seems to be due to the missing
memset here, so add it -- it's certainly missing but I'm not 100%
certain that it will fix the problem.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c