From 4486eee186023a51426401178bddce9a141eafdb Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Thu, 20 Jun 2024 12:43:00 +0530 Subject: [PATCH] Pass the correct cb arg during reconnection attempt --- nimble/host/src/ble_gap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/host/src/ble_gap.c b/nimble/host/src/ble_gap.c index d896565e9..e54a55380 100644 --- a/nimble/host/src/ble_gap.c +++ b/nimble/host/src/ble_gap.c @@ -1129,7 +1129,7 @@ ble_gap_master_connect_reattempt(uint16_t conn_handle) ble_conn_reattempt.duration_ms, &ble_conn_reattempt.conn_params, ble_conn_reattempt.cb, - &conn); + ble_conn_reattempt.cb_arg); if (rc != 0) { return rc; }