mesh: Add support for PMKSA caching
[mech_eap.git] / wpa_supplicant / mesh.c
index cdb5eb0..89b033b 100644 (file)
@@ -605,7 +605,8 @@ int wpas_mesh_peer_remove(struct wpa_supplicant *wpa_s, const u8 *addr)
 }
 
 
-int wpas_mesh_peer_add(struct wpa_supplicant *wpa_s, const u8 *addr)
+int wpas_mesh_peer_add(struct wpa_supplicant *wpa_s, const u8 *addr,
+                      int duration)
 {
-       return mesh_mpm_connect_peer(wpa_s, addr);
+       return mesh_mpm_connect_peer(wpa_s, addr, duration);
 }