mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 11:17:20 +02:00
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
This commit is contained in:
@ -1070,6 +1070,7 @@ void btc_spp_cb_handler(btc_msg_t *msg)
|
|||||||
BT_HDR *p_buf;
|
BT_HDR *p_buf;
|
||||||
serial = slot->serial;
|
serial = slot->serial;
|
||||||
if ((p_buf = fixed_queue_try_peek_first(slot->tx.queue)) == NULL) {
|
if ((p_buf = fixed_queue_try_peek_first(slot->tx.queue)) == NULL) {
|
||||||
|
osi_mutex_unlock(&spp_local_param.spp_slot_mutex);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (p_data->rfc_write.status == BTA_JV_SUCCESS) {
|
if (p_data->rfc_write.status == BTA_JV_SUCCESS) {
|
||||||
|
Reference in New Issue
Block a user