diff options
-rw-r--r-- | wpa_supplicant/events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index c3e9ed6..0ac8641 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -473,7 +473,7 @@ static int wpa_supplicant_ssid_bss_match(struct wpa_supplicant *wpa_s, return 0; } - if (!wpa_key_mgmt_wpa(ssid->key_mgmt)) { + if (!wpa_key_mgmt_wpa(ssid->key_mgmt) && !rsn_ie && !wpa_ie) { wpa_dbg(wpa_s, MSG_DEBUG, " allow in non-WPA/WPA2"); return 1; } |