SME: No need for OBSS scan if HT40 is disabled
Signed-off-by: Ernst Sjöstrand <ernst.sjostrand@verisure.com>
This commit is contained in:
parent
7db757aac4
commit
36973aac2c
1 changed files with 6 additions and 0 deletions
|
@ -2567,6 +2567,12 @@ void sme_sched_obss_scan(struct wpa_supplicant *wpa_s, int enable)
|
||||||
ssid == NULL || ssid->mode != WPAS_MODE_INFRA)
|
ssid == NULL || ssid->mode != WPAS_MODE_INFRA)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#ifdef CONFIG_HT_OVERRIDES
|
||||||
|
/* No need for OBSS scan if HT40 is explicitly disabled */
|
||||||
|
if (ssid->disable_ht40)
|
||||||
|
return;
|
||||||
|
#endif /* CONFIG_HT_OVERRIDES */
|
||||||
|
|
||||||
if (!wpa_s->hw.modes)
|
if (!wpa_s->hw.modes)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue