]> git.proxmox.com Git - qemu.git/blobdiff - hw/bt-hci-csr.c
qemu-char: Call fe_claim / fe_release when not using qdev chr properties
[qemu.git] / hw / bt-hci-csr.c
index e4ada3c731174983afaed69056e564e9bae3bbf2..55c819b08562880956533d7be8f85060751aaba5 100644 (file)
@@ -439,6 +439,7 @@ CharDriverState *uart_hci_init(qemu_irq wakeup)
     s->chr.opaque = s;
     s->chr.chr_write = csrhci_write;
     s->chr.chr_ioctl = csrhci_ioctl;
+    s->chr.avail_connections = 1;
 
     s->hci = qemu_next_hci();
     s->hci->opaque = s;