summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_vhci.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-07-08 13:57:15 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-29 03:01:28 +0200
commit0ac53939a06c610b394aeb0211b985804f2d2da3 (patch)
tree40e4b80f70a7cd42705e49a817950857055f2d1b /drivers/bluetooth/hci_vhci.c
parent[Bluetooth] Code cleanup of the drivers source code (diff)
downloadlinux-0ac53939a06c610b394aeb0211b985804f2d2da3.tar.xz
linux-0ac53939a06c610b394aeb0211b985804f2d2da3.zip
[Bluetooth] Add HCI device identifier for SDIO cards
This patch assigns the next free HCI device identifier to Bluetooth devices based on the SDIO interface. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_vhci.c')
-rw-r--r--drivers/bluetooth/hci_vhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_vhci.c b/drivers/bluetooth/hci_vhci.c
index fc2130f1776a..a278d98a9151 100644
--- a/drivers/bluetooth/hci_vhci.c
+++ b/drivers/bluetooth/hci_vhci.c
@@ -276,7 +276,7 @@ static int vhci_open(struct inode *inode, struct file *file)
data->hdev = hdev;
- hdev->type = HCI_VHCI;
+ hdev->type = HCI_VIRTUAL;
hdev->driver_data = data;
hdev->open = vhci_open_dev;