summaryrefslogtreecommitdiff
path: root/emulator/vhci.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-10-29 15:49:30 -0700
committerMarcel Holtmann <marcel@holtmann.org>2012-10-29 15:49:30 -0700
commit9f3814a34f0b3718104446906ee75202a1b84aed (patch)
treeac04f37cf1e23a0323612932d2f200974826e9a9 /emulator/vhci.c
parent2c33d253f500ce604315e6f8ffbc7b2efcc3d20f (diff)
downloadbluez-9f3814a34f0b3718104446906ee75202a1b84aed.tar.gz
emulator: Create support for enabling AMP controllers
Diffstat (limited to 'emulator/vhci.c')
-rw-r--r--emulator/vhci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulator/vhci.c b/emulator/vhci.c
index 913ae8174..6b66105c5 100644
--- a/emulator/vhci.c
+++ b/emulator/vhci.c
@@ -80,7 +80,7 @@ static void vhci_read_callback(int fd, uint32_t events, void *user_data)
btdev_receive_h4(vhci->btdev, buf, len);
}
-struct vhci *vhci_open(enum vhci_type type, uint16_t id)
+struct vhci *vhci_open(enum vhci_type type)
{
struct vhci *vhci;
@@ -104,7 +104,7 @@ struct vhci *vhci_open(enum vhci_type type, uint16_t id)
return NULL;
}
- vhci->btdev = btdev_create(BTDEV_TYPE_BREDR, id);
+ vhci->btdev = btdev_create(BTDEV_TYPE_BREDR, 0x23);
if (!vhci->btdev) {
close(vhci->fd);
free(vhci);