2017-11-14 11:38:08 +00:00
|
|
|
--- a/wpa_supplicant/wpa_supplicant.c
|
|
|
|
+++ b/wpa_supplicant/wpa_supplicant.c
|
2018-05-30 22:10:49 +00:00
|
|
|
@@ -2124,11 +2124,13 @@ void ibss_mesh_setup_freq(struct wpa_sup
|
2017-11-14 11:38:08 +00:00
|
|
|
for (j = 0; j < wpa_s->last_scan_res_used; j++) {
|
|
|
|
struct wpa_bss *bss = wpa_s->last_scan_res[j];
|
|
|
|
|
|
|
|
- if (ssid->mode != WPAS_MODE_IBSS)
|
|
|
|
+ /* Don't adjust control freq in case of fixed_freq */
|
|
|
|
+ if (ssid->fixed_freq) {
|
|
|
|
+ obss_scan = 0;
|
|
|
|
break;
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- /* Don't adjust control freq in case of fixed_freq */
|
|
|
|
- if (ssid->fixed_freq)
|
|
|
|
+ if (ssid->mode != WPAS_MODE_IBSS)
|
|
|
|
break;
|
|
|
|
|
|
|
|
if (!bss_is_ibss(bss))
|