mirror of
https://github.com/espressif/esp-idf.git
synced 2026-06-04 20:26:38 +03:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user