cfg80211: don't overwrite privacy setting
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 18 Sep 2009 00:15:31 +0000 (17:15 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 23 Sep 2009 15:35:53 +0000 (11:35 -0400)
commit94f85853324e02c3a32bc3101f090dc9a3f512b4
treeb01c799520a5cb39e1403824de70f7935a5cce28
parent018ae37292dd391494172495142b87e816a841c0
cfg80211: don't overwrite privacy setting

When cfg80211 is instructed to connect, it always
uses the default WEP key for the privacy setting,
which clearly is wrong when using wpa_supplicant.
Don't overwrite the setting, and rely on it being
false when wpa_supplicant is not running, instead
set it to true when we have keys.

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