aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/wext-sme.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/wext-sme.c')
-rw-r--r--net/wireless/wext-sme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/wext-sme.c b/net/wireless/wext-sme.c
index cd5764fd001a..82e913aa163e 100644
--- a/net/wireless/wext-sme.c
+++ b/net/wireless/wext-sme.c
@@ -166,7 +166,7 @@ int cfg80211_mgd_wext_siwessid(struct net_device *dev,
166 166
167 if (wdev->wext.connect.ssid && len && 167 if (wdev->wext.connect.ssid && len &&
168 len == wdev->wext.connect.ssid_len && 168 len == wdev->wext.connect.ssid_len &&
169 memcmp(wdev->wext.connect.ssid, ssid, len)) 169 memcmp(wdev->wext.connect.ssid, ssid, len) == 0)
170 goto out; 170 goto out;
171 171
172 if (wdev->sme_state != CFG80211_SME_IDLE) { 172 if (wdev->sme_state != CFG80211_SME_IDLE) {