aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index b0808efcedf6..c05be09b9c6f 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -849,8 +849,7 @@ static int ieee80211_privacy_mismatch(struct ieee80211_sub_if_data *sdata)
849 int wep_privacy; 849 int wep_privacy;
850 int privacy_invoked; 850 int privacy_invoked;
851 851
852 if (!ifmgd || (ifmgd->flags & (IEEE80211_STA_MIXED_CELL | 852 if (!ifmgd || (ifmgd->flags & IEEE80211_STA_EXT_SME))
853 IEEE80211_STA_EXT_SME)))
854 return 0; 853 return 0;
855 854
856 bss = ieee80211_rx_bss_get(local, ifmgd->bssid, 855 bss = ieee80211_rx_bss_get(local, ifmgd->bssid,