developer | 29c4d2d | 2022-12-26 19:41:22 +0800 | [diff] [blame] | 1 | --- a/wpa_supplicant/wpa_supplicant.c |
| 2 | +++ b/wpa_supplicant/wpa_supplicant.c |
developer | dfb5098 | 2023-09-11 13:34:36 +0800 | [diff] [blame] | 3 | @@ -3040,6 +3040,10 @@ void ibss_mesh_setup_freq(struct wpa_sup |
developer | 29c4d2d | 2022-12-26 19:41:22 +0800 | [diff] [blame] | 4 | |
developer | 505c943 | 2023-05-12 18:58:17 +0800 | [diff] [blame] | 5 | freq->freq = ssid->frequency; |
developer | 29c4d2d | 2022-12-26 19:41:22 +0800 | [diff] [blame] | 6 | |
developer | 505c943 | 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 | 29c4d2d | 2022-12-26 19:41:22 +0800 | [diff] [blame] | 13 | |