aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh.c
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2016-03-09 09:16:11 (GMT)
committerJouni Malinen <j@w1.fi>2016-03-20 15:37:53 (GMT)
commit2604edbfbd6add1846c6f6dc92c454aca42980f0 (patch)
treeefeece6dbd43a4af2f683b15450a9ebe4615c05c /wpa_supplicant/mesh.c
parente174ef341bb74b0710a4eafff1eb23e2d29b3936 (diff)
downloadhostap-2604edbfbd6add1846c6f6dc92c454aca42980f0.zip
hostap-2604edbfbd6add1846c6f6dc92c454aca42980f0.tar.gz
hostap-2604edbfbd6add1846c6f6dc92c454aca42980f0.tar.bz2
mesh: Add MESH_PEER_ADD command
This allows a mesh peer connection to be initiated manually in no_auto_peer mesh networks. Signed-off-by: Natsuki Itaya <Natsuki.Itaya@jp.sony.com> Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Diffstat (limited to 'wpa_supplicant/mesh.c')
-rw-r--r--wpa_supplicant/mesh.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/mesh.c b/wpa_supplicant/mesh.c
index c6d1d73..cdb5eb0 100644
--- a/wpa_supplicant/mesh.c
+++ b/wpa_supplicant/mesh.c
@@ -603,3 +603,9 @@ int wpas_mesh_peer_remove(struct wpa_supplicant *wpa_s, const u8 *addr)
{
return mesh_mpm_close_peer(wpa_s, addr);
}
+
+
+int wpas_mesh_peer_add(struct wpa_supplicant *wpa_s, const u8 *addr)
+{
+ return mesh_mpm_connect_peer(wpa_s, addr);
+}