aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index af4733ba5be2..3c9774e36a80 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1178,16 +1178,16 @@ static int ieee80211_auth(struct wiphy *wiphy, struct net_device *dev,
1178 1178
1179 switch (req->auth_type) { 1179 switch (req->auth_type) {
1180 case NL80211_AUTHTYPE_OPEN_SYSTEM: 1180 case NL80211_AUTHTYPE_OPEN_SYSTEM:
1181 sdata->u.mgd.auth_algs = IEEE80211_AUTH_ALG_OPEN; 1181 sdata->u.mgd.auth_alg = WLAN_AUTH_OPEN;
1182 break; 1182 break;
1183 case NL80211_AUTHTYPE_SHARED_KEY: 1183 case NL80211_AUTHTYPE_SHARED_KEY:
1184 sdata->u.mgd.auth_algs = IEEE80211_AUTH_ALG_SHARED_KEY; 1184 sdata->u.mgd.auth_alg = WLAN_AUTH_SHARED_KEY;
1185 break; 1185 break;
1186 case NL80211_AUTHTYPE_FT: 1186 case NL80211_AUTHTYPE_FT:
1187 sdata->u.mgd.auth_algs = IEEE80211_AUTH_ALG_FT; 1187 sdata->u.mgd.auth_alg = WLAN_AUTH_FT;
1188 break; 1188 break;
1189 case NL80211_AUTHTYPE_NETWORK_EAP: 1189 case NL80211_AUTHTYPE_NETWORK_EAP:
1190 sdata->u.mgd.auth_algs = IEEE80211_AUTH_ALG_LEAP; 1190 sdata->u.mgd.auth_alg = WLAN_AUTH_LEAP;
1191 break; 1191 break;
1192 default: 1192 default:
1193 return -EOPNOTSUPP; 1193 return -EOPNOTSUPP;