mesh: Add support for scanning only the current frequency
This patch enables scan_cur_freq=1 on VIF based mesh network. Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
parent
fd7d3c495e
commit
241c33335b
1 changed files with 2 additions and 1 deletions
|
@ -5551,7 +5551,8 @@ int get_shared_radio_freqs_data(struct wpa_supplicant *wpa_s,
|
|||
continue;
|
||||
|
||||
if (ifs->current_ssid->mode == WPAS_MODE_AP ||
|
||||
ifs->current_ssid->mode == WPAS_MODE_P2P_GO)
|
||||
ifs->current_ssid->mode == WPAS_MODE_P2P_GO ||
|
||||
ifs->current_ssid->mode == WPAS_MODE_MESH)
|
||||
freq = ifs->current_ssid->frequency;
|
||||
else if (wpa_drv_get_bssid(ifs, bssid) == 0)
|
||||
freq = ifs->assoc_freq;
|
||||
|
|
Loading…
Reference in a new issue