add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT

pull/8779/head
liqigan 2022-04-11 17:14:02 +08:00
rodzic 2ce516e455
commit 81829c2670
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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) {