mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
ble_mesh: Fix an issue which may cause task block
This commit is contained in:
@ -311,8 +311,8 @@ static void seg_tx_send_unacked(struct seg_tx *tx)
|
||||
|
||||
if (!(BLE_MESH_ADV(seg)->seg.attempts--)) {
|
||||
BT_WARN("Ran out of retransmit attempts");
|
||||
seg_tx_complete(tx, -ETIMEDOUT);
|
||||
bt_mesh_tx_seg_unlock();
|
||||
seg_tx_complete(tx, -ETIMEDOUT);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user