developer | f2e3f56 | 2022-12-26 19:41:22 +0800 | [diff] [blame] | 1 | --- a/wpa_supplicant/wpa_supplicant.c |
| 2 | +++ b/wpa_supplicant/wpa_supplicant.c |
developer | bddc9db | 2023-09-11 13:34:36 +0800 | [diff] [blame] | 3 | @@ -3040,6 +3040,10 @@ void ibss_mesh_setup_freq(struct wpa_sup |
developer | f2e3f56 | 2022-12-26 19:41:22 +0800 | [diff] [blame] | 4 | |
developer | 5e0a8d7 | 2023-05-12 18:58:17 +0800 | [diff] [blame] | 5 | freq->freq = ssid->frequency; |
developer | f2e3f56 | 2022-12-26 19:41:22 +0800 | [diff] [blame] | 6 | |
developer | 5e0a8d7 | 2023-05-12 18:58:17 +0800 | [diff] [blame] | 7 | + if (ssid->fixed_freq) { |
| 8 | + obss_scan = 0; |
| 9 | + } |
| 10 | + |
| 11 | if (ssid->mode == WPAS_MODE_IBSS && !ssid->fixed_freq) { |
| 12 | struct wpa_bss *bss = ibss_find_existing_bss(wpa_s, ssid); |
developer | f2e3f56 | 2022-12-26 19:41:22 +0800 | [diff] [blame] | 13 | |