On Mon, 2009-11-16 at 11:56 +0200, Jussi Kivilinna wrote: > rndis_wlan didn't know about NL80211_AUTHTYPE_AUTOMATIC and simple > setup with 'iwconfig wlan essid no-encrypt' would fail (ENOSUPP). > > Signed-off-by: Jussi Kivilinna <jussi.kivilinna@xxxxxxxx> > --- > > drivers/net/wireless/rndis_wlan.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c > index 54175b6..dfc61fd 100644 > --- a/drivers/net/wireless/rndis_wlan.c > +++ b/drivers/net/wireless/rndis_wlan.c > @@ -1070,7 +1070,8 @@ static int set_auth_mode(struct usbnet *usbdev, u32 wpa_version, > auth_mode = NDIS_80211_AUTH_WPA_NONE; > } else if (auth_type == NL80211_AUTHTYPE_SHARED_KEY) > auth_mode = NDIS_80211_AUTH_SHARED; > - else if (auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) > + else if (auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM || > + auth_type == NL80211_AUTHTYPE_AUTOMATIC) > auth_mode = NDIS_80211_AUTH_OPEN; Will that try open and shared though? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part