cfg80211: Clear encryption privacy when key off is done.
authorVivek Natarajan <vnatarajan@atheros.com>
Tue, 24 Nov 2009 16:54:10 +0000 (11:54 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Dec 2009 20:10:08 +0000 (15:10 -0500)
commitd55fb891f9da8ee17374349ff482b2715623b7e5
tree2013400579647e4d20b737077647cb6d066a7d67
parent43de004b6c197b0ea408bdebf4f14afdead74b63
cfg80211: Clear encryption privacy when key off is done.

When the current_bss is not set, 'iwconfig <iface> key off' does not
clear the private flag. Hence after we connect with WEP to an AP and
then try to connect with another non-WEP AP, it does not work.
This issue will not be seen if supplicant is used.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/wext-compat.c