wireless/bluetooth: destroy nxsem properly

This commit is contained in:
chao an 2022-11-20 23:16:37 +08:00 committed by Xiang Xiao
parent 873023f89b
commit 3e1c73f8c9
1 changed files with 2 additions and 0 deletions

View File

@ -1846,6 +1846,8 @@ int bt_hci_cmd_send_sync(uint16_t opcode, FAR struct bt_buf_s *buf,
bt_buf_release(buf->u.hci.sync);
}
nxsem_destroy(&sync_sem);
return ret;
}