Diff between 11d7fe8535be45bb354b71cd6db0b394b3f178d7 and 99fa1447212437d2c9150b3d6c90ec3bc1f7aeb2
Changed Files
| File | Additions | Deletions | Status |
| mesh/pb-adv.c | +2 | -0 | modified |
Full Patch
diff --git a/mesh/pb-adv.c b/mesh/pb-adv.c
index 27cbc46..c9a2a65 100644
--- a/mesh/pb-adv.c
+++ b/mesh/pb-adv.c
@@ -458,6 +458,8 @@ bool pb_adv_reg(bool initiator, mesh_prov_open_func_t open_cb,
if (initiator) {
l_getrandom(&pb_session->link_id, sizeof(pb_session->link_id));
+ pb_session->tx_timeout = l_timeout_create(60, tx_timeout,
+ pb_session, NULL);
send_open_req(pb_session);
}