diff options
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r-- | drivers/net/wireless/rndis_wlan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index 54175b6fa86..aa1880add18 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c | |||
@@ -1072,6 +1072,8 @@ static int set_auth_mode(struct usbnet *usbdev, u32 wpa_version, | |||
1072 | auth_mode = NDIS_80211_AUTH_SHARED; | 1072 | auth_mode = NDIS_80211_AUTH_SHARED; |
1073 | else if (auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) | 1073 | else if (auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) |
1074 | auth_mode = NDIS_80211_AUTH_OPEN; | 1074 | auth_mode = NDIS_80211_AUTH_OPEN; |
1075 | else if (auth_type == NL80211_AUTHTYPE_AUTOMATIC) | ||
1076 | auth_mode = NDIS_80211_AUTH_AUTO_SWITCH; | ||
1075 | else | 1077 | else |
1076 | return -ENOTSUPP; | 1078 | return -ENOTSUPP; |
1077 | 1079 | ||