[PATCH] OWE: Do not scan for transition mode AP with owe_only=1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ilan Peer <ilan.peer@xxxxxxxxx>

As the network block is configured not to allow transition mode.

Signed-off-by: Ilan Peer <ilan.peer@xxxxxxxxx>
---
 wpa_supplicant/scan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c
index a855557991..d2aec86626 100644
--- a/wpa_supplicant/scan.c
+++ b/wpa_supplicant/scan.c
@@ -944,7 +944,7 @@ static void wpa_add_owe_scan_ssid(struct wpa_supplicant *wpa_s,
 #ifdef CONFIG_OWE
 	struct wpa_bss *bss;
 
-	if (!(ssid->key_mgmt & WPA_KEY_MGMT_OWE))
+	if (!(ssid->key_mgmt & WPA_KEY_MGMT_OWE) || ssid->owe_only)
 		return;
 
 	wpa_printf(MSG_DEBUG, "OWE: Look for transition mode AP. ssid=%s",
-- 
2.38.1


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux