Diff between 4e2f84dd9e689cfbd206f5c250164e3fec997538 and 90cb7c5884b147288220314d8fdd276f7d068ac4
Changed Files
| File | Additions | Deletions | Status |
| emulator/vhci.c | +2 | -1 | modified |
Full Patch
diff --git a/emulator/vhci.c b/emulator/vhci.c
index 8fddef7..106a8e2 100644
--- a/emulator/vhci.c
+++ b/emulator/vhci.c
@@ -86,6 +86,7 @@ struct vhci *vhci_open(enum vhci_type type)
{
struct vhci *vhci;
enum btdev_type uninitialized_var(btdev_type);
+ static uint8_t id = 0x23;
switch (type) {
case VHCI_TYPE_BREDRLE:
@@ -114,7 +115,7 @@ struct vhci *vhci_open(enum vhci_type type)
return NULL;
}
- vhci->btdev = btdev_create(btdev_type, 0x23);
+ vhci->btdev = btdev_create(btdev_type, id++);
if (!vhci->btdev) {
close(vhci->fd);
free(vhci);