rndis_wlan: handle NL80211_AUTHTYPE_AUTOMATIC
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Mon, 16 Nov 2009 10:49:43 +0000 (12:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Nov 2009 19:17:13 +0000 (14:17 -0500)
commit634a555ce3ee5ea1fdcaee8b4ac9ce7b54f301ac
tree61612dfd1a3da43510c38e318228445cc553312c
parent6a62e5ef94f754892734f99e87ca3dedd3cef277
rndis_wlan: handle NL80211_AUTHTYPE_AUTOMATIC

rndis_wlan didn't know about NL80211_AUTHTYPE_AUTOMATIC and simple
setup with 'iwconfig wlan essid no-encrypt' would fail (ENOSUPP).

v2: use NDIS_80211_AUTH_AUTO_SWITCH instead of _OPEN.
    This will make device try shared key auth first, then open.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rndis_wlan.c