fix(ble_mesh): fixed incorrect rpl behavior in transport enh
(cherry picked from commit 29a722296f6de31cb96e47f8771dac7319fdb6dd) Co-authored-by: luoxu <luoxu@espressif.com>
This commit is contained in:
@@ -2528,10 +2528,6 @@ found_rx:
|
||||
}
|
||||
}
|
||||
|
||||
if (rpl) {
|
||||
bt_mesh_update_rpl(rpl, net_rx);
|
||||
}
|
||||
|
||||
/* Mark segment as received */
|
||||
rx->block |= BIT(seg_o);
|
||||
|
||||
@@ -2543,6 +2539,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 */
|
||||
|
||||
Reference in New Issue
Block a user