[PATCH] SME: No need for OBSS scan if ht40 is disabled

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

 



Signed-off-by: Ernst Sjöstrand <ernst.sjostrand@xxxxxxxxxxxx>
---
 wpa_supplicant/sme.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index f2c42ff35..5d4d4073f 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -2583,6 +2583,10 @@ void sme_sched_obss_scan(struct wpa_supplicant
*wpa_s, int enable)
 	    ssid == NULL || ssid->mode != WPAS_MODE_INFRA)
 		return;
 
+	/* No need for obss scan if we won't use ht40 */
+	if (ssid->disable_ht40)
+		return;
+
 	if (!wpa_s->hw.modes)
 		return;
 
-- 
2.33.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