aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-01-10 10:52:50 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-10 15:35:53 (GMT)
commit6334330ed682c3a462fbe0543ac238b5dd6aec4d (patch)
tree38990c4e710d97cc3348fa4b68d3d805e5122918 /wpa_supplicant/mesh.c
parent1fc4ab2367807e50fb49a84456602ccc17cb5d84 (diff)
downloadhostap-6334330ed682c3a462fbe0543ac238b5dd6aec4d.zip
hostap-6334330ed682c3a462fbe0543ac238b5dd6aec4d.tar.gz
hostap-6334330ed682c3a462fbe0543ac238b5dd6aec4d.tar.bz2
mesh: Use a separate variable to track whether HT is enabled
A network profile parameter should not be used to check whether the currently operating mesh has HT enabled. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/mesh.c')
-rw-r--r--wpa_supplicant/mesh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/mesh.c b/wpa_supplicant/mesh.c
index 7a4f3de..8c5713f 100644
--- a/wpa_supplicant/mesh.c
+++ b/wpa_supplicant/mesh.c
@@ -319,6 +319,7 @@ int wpa_supplicant_join_mesh(struct wpa_supplicant *wpa_s,
params.meshid = ssid->ssid;
params.meshid_len = ssid->ssid_len;
params.freq = ssid->frequency;
+ wpa_s->mesh_ht_enabled = ssid->mesh_ht_mode > CHAN_NO_HT;
if (ssid->beacon_int > 0)
params.beacon_int = ssid->beacon_int;
else if (wpa_s->conf->beacon_int > 0)