diff options
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/cfg80211.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/cfg80211.c b/drivers/net/wireless/iwmc3200wifi/cfg80211.c index ca75d07831a9..89edb6629426 100644 --- a/drivers/net/wireless/iwmc3200wifi/cfg80211.c +++ b/drivers/net/wireless/iwmc3200wifi/cfg80211.c | |||
@@ -471,12 +471,12 @@ static int iwm_set_wpa_version(struct iwm_priv *iwm, u32 wpa_version) | |||
471 | return 0; | 471 | return 0; |
472 | } | 472 | } |
473 | 473 | ||
474 | if (wpa_version & NL80211_WPA_VERSION_1) | ||
475 | iwm->umac_profile->sec.flags = UMAC_SEC_FLG_WPA_ON_MSK; | ||
476 | |||
474 | if (wpa_version & NL80211_WPA_VERSION_2) | 477 | if (wpa_version & NL80211_WPA_VERSION_2) |
475 | iwm->umac_profile->sec.flags = UMAC_SEC_FLG_RSNA_ON_MSK; | 478 | iwm->umac_profile->sec.flags = UMAC_SEC_FLG_RSNA_ON_MSK; |
476 | 479 | ||
477 | if (wpa_version & NL80211_WPA_VERSION_1) | ||
478 | iwm->umac_profile->sec.flags |= UMAC_SEC_FLG_WPA_ON_MSK; | ||
479 | |||
480 | return 0; | 480 | return 0; |
481 | } | 481 | } |
482 | 482 | ||