cfg80211: fix disabling WPA via wext (SIOCSIWAUTH)
authorGábor Stefanik <netrolller.3d@gmail.com>
Sun, 12 Jul 2009 00:03:48 +0000 (02:03 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:12 +0000 (15:05 -0400)
commit323d566eae1ace41bc674863b58fcc474501a2db
treeecdaa6b134ed95896033b818120e5dcf628bd3ca
parent4b9631a4734e25e37c83e72c3e0ffcbb08de5791
cfg80211: fix disabling WPA via wext (SIOCSIWAUTH)

cfg80211_set_wpa_version completely missed the use case when disabling
WPA, considering IW_AUTH_WPA_VERSION_DISABLED an invalid argument. This
caused weird error messages in wpa_supplicant.

Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/wext-compat.c