mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
This commit is contained in:
parent
2ce516e455
commit
81829c2670
@ -1070,6 +1070,7 @@ void btc_spp_cb_handler(btc_msg_t *msg)
|
||||
BT_HDR *p_buf;
|
||||
serial = slot->serial;
|
||||
if ((p_buf = fixed_queue_try_peek_first(slot->tx.queue)) == NULL) {
|
||||
osi_mutex_unlock(&spp_local_param.spp_slot_mutex);
|
||||
break;
|
||||
}
|
||||
if (p_data->rfc_write.status == BTA_JV_SUCCESS) {
|
||||
|
Loading…
Reference in New Issue
Block a user