aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh.c
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2016-08-05 08:35:28 (GMT)
committerJouni Malinen <j@w1.fi>2016-08-18 17:33:39 (GMT)
commita1431ef8df30eb7ede9a0a95693f17c45ca5fd39 (patch)
treed1ab9eb06751f086a44eaa042d801a9fe5ee3fc1 /wpa_supplicant/mesh.c
parent548d280162c08be11a8bcd6179507acbc5d93878 (diff)
downloadhostap-a1431ef8df30eb7ede9a0a95693f17c45ca5fd39.zip
hostap-a1431ef8df30eb7ede9a0a95693f17c45ca5fd39.tar.gz
hostap-a1431ef8df30eb7ede9a0a95693f17c45ca5fd39.tar.bz2
mesh: Move max_peer_links parameter to appropriate struct
Accoding to the comment of struct wpa_driver_mesh_bss_params, the max_peer_links parameter should be under that struct. Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Diffstat (limited to 'wpa_supplicant/mesh.c')
-rw-r--r--wpa_supplicant/mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/mesh.c b/wpa_supplicant/mesh.c
index cdfe51c..e3d9d62 100644
--- a/wpa_supplicant/mesh.c
+++ b/wpa_supplicant/mesh.c
@@ -404,7 +404,7 @@ int wpa_supplicant_join_mesh(struct wpa_supplicant *wpa_s,
params.dtim_period = ssid->dtim_period;
else if (wpa_s->conf->dtim_period > 0)
params.dtim_period = wpa_s->conf->dtim_period;
- params.max_peer_links = wpa_s->conf->max_peer_links;
+ params.conf.max_peer_links = wpa_s->conf->max_peer_links;
if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) {
params.flags |= WPA_DRIVER_MESH_FLAG_SAE_AUTH;