@@ -256,7 +256,7 @@ static struct l_dbus_message *add_node_call(struct l_dbus *dbus,
}
- if (!initiator_start(PB_ADV, uuid, 99, 0, 60, add_pending->agent,
+ if (!initiator_start(PB_ADV, uuid, 99, 60, add_pending->agent,
add_data_get, add_cmplt, node, add_pending)) {
reply = dbus_error(msg, MESH_ERROR_FAILED,
"Failed to start provisioning initiator");
@@ -817,7 +817,6 @@ static void int_prov_ack(void *user_data, uint8_t msg_num)
bool initiator_start(enum trans_type transport,
uint8_t uuid[16],
uint16_t max_ele,
- uint16_t server, /* Only valid for PB-Remote */
uint32_t timeout, /* in seconds from mesh.conf */
struct mesh_agent *agent,
mesh_prov_initiator_data_req_func_t get_prov_data,
@@ -118,7 +118,6 @@ void acceptor_cancel(void *user_data);
bool initiator_start(enum trans_type transport,
uint8_t uuid[16],
uint16_t max_ele,
- uint16_t server, /* Only valid for PB-Remote */
uint32_t timeout, /* in seconds from mesh.conf */
struct mesh_agent *agent,
mesh_prov_initiator_data_req_func_t get_prov_data,