systemd: Update service files according to D-Bus interface version
[mech_eap.git] / wpa_supplicant / mesh.c
index c6d1d73..89b033b 100644 (file)
@@ -603,3 +603,10 @@ 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,
+                      int duration)
+{
+       return mesh_mpm_connect_peer(wpa_s, addr, duration);
+}