fix(ble_mesh): fixed incorrect rpl behavior in transport enh

(cherry picked from commit 29a722296f)

Co-authored-by: luoxu <luoxu@espressif.com>
This commit is contained in:
Luo Xu
2025-12-18 17:43:11 +08:00
parent 386958febe
commit da9ccc8d89

View File

@@ -2333,10 +2333,6 @@ found_rx:
}
}
if (rpl) {
bt_mesh_update_rpl(rpl, net_rx);
}
/* Mark segment as received */
rx->block |= BIT(seg_o);
@@ -2348,6 +2344,10 @@ found_rx:
BT_DBG("Complete SDU");
if (rpl) {
bt_mesh_update_rpl(rpl, net_rx);
}
*pdu_type = BLE_MESH_FRIEND_PDU_COMPLETE;
/* Stop SAR Discard timer when processing result is Last Segment */