Fix issues with disabling obss scan when using fixed_freq on mesh

This commit is contained in:
Felix Fietkau 2017-11-14 12:38:08 +01:00 committed by sinavir
parent f0491d0512
commit d6138a763b
No known key found for this signature in database

View file

@ -3234,6 +3234,10 @@ void ibss_mesh_setup_freq(struct wpa_supplicant *wpa_s,
freq->freq = ssid->frequency;
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);