aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2016-08-05 08:35:31 (GMT)
committerJouni Malinen <j@w1.fi>2016-08-18 17:46:15 (GMT)
commit052b8d38c5799fb0c0983d6cf96d5d60754b46ae (patch)
tree8f0d58be9abb93c4095ff7cd501bcc907f75a9e2 /wpa_supplicant
parent2bd62171737b45a094027378a6ad70f567cb68ff (diff)
downloadhostap-052b8d38c5799fb0c0983d6cf96d5d60754b46ae.zip
hostap-052b8d38c5799fb0c0983d6cf96d5d60754b46ae.tar.gz
hostap-052b8d38c5799fb0c0983d6cf96d5d60754b46ae.tar.bz2
mesh: Report HT operation mode to kernel
Report HT operation mode to kernel to broadcast correct IE in beacon (for example HT operation IE). Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/mesh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/mesh.c b/wpa_supplicant/mesh.c
index 3deeb49..741670b 100644
--- a/wpa_supplicant/mesh.c
+++ b/wpa_supplicant/mesh.c
@@ -438,6 +438,8 @@ int wpa_supplicant_join_mesh(struct wpa_supplicant *wpa_s,
params.ies = wpa_s->ifmsh->mconf->rsn_ie;
params.ie_len = wpa_s->ifmsh->mconf->rsn_ie_len;
params.basic_rates = wpa_s->ifmsh->basic_rates;
+ params.conf.flags |= WPA_DRIVER_MESH_CONF_FLAG_HT_OP_MODE;
+ params.conf.ht_opmode = wpa_s->ifmsh->bss[0]->iface->ht_op_mode;
}
wpa_msg(wpa_s, MSG_INFO, "joining mesh %s",