mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
Merge branch 'fix/ble_mesh_trans_enh_seg_rpl' into 'master'
fix(ble_mesh): fixed incorrect rpl behavior in transport enh Closes BLERP-2342 See merge request espressif/esp-idf!42974
This commit is contained in:
@@ -2411,10 +2411,6 @@ found_rx:
|
||||
}
|
||||
}
|
||||
|
||||
if (rpl) {
|
||||
bt_mesh_update_rpl(rpl, net_rx);
|
||||
}
|
||||
|
||||
/* Mark segment as received */
|
||||
rx->block |= BIT(seg_o);
|
||||
|
||||
@@ -2425,6 +2421,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