2024-02-13 21:26:31 +00:00
|
|
|
From: Felix Fietkau <nbd@nbd.name>
|
|
|
|
Date: Tue, 14 Nov 2017 12:38:08 +0100
|
|
|
|
Subject: [PATCH] Fix issues with disabling obss scan when using fixed_freq on
|
|
|
|
mesh
|
|
|
|
|
2017-11-14 11:38:08 +00:00
|
|
|
--- a/wpa_supplicant/wpa_supplicant.c
|
|
|
|
+++ b/wpa_supplicant/wpa_supplicant.c
|
2024-09-07 17:54:34 +00:00
|
|
|
@@ -3234,6 +3234,10 @@ void ibss_mesh_setup_freq(struct wpa_sup
|
2017-11-14 11:38:08 +00:00
|
|
|
|
2023-03-13 18:35:49 +00:00
|
|
|
freq->freq = ssid->frequency;
|
2017-11-14 11:38:08 +00:00
|
|
|
|
2023-03-13 18:35:49 +00:00
|
|
|
+ if (ssid->fixed_freq) {
|
|
|
|
+ obss_scan = 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
if (ssid->mode == WPAS_MODE_IBSS && !ssid->fixed_freq) {
|
|
|
|
struct wpa_bss *bss = ibss_find_existing_bss(wpa_s, ssid);
|
2017-11-14 11:38:08 +00:00
|
|
|
|