[PATCH] mesh: Add support for scanning only the current frequency
Masashi Honma
masashi.honma
Mon Sep 7 23:10:13 PDT 2015
This patch enables scan_cur_freq=1 on VIF based mesh network.
Signed-off-by: Masashi Honma <masashi.honma at gmail.com>
---
wpa_supplicant/wpa_supplicant.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index 9951b0f..a540417 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -5537,7 +5537,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;
--
2.1.4
More information about the Hostap
mailing list