Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36806
b: refs/heads/master
c: 0ac5393
h: refs/heads/master
v: v3
  • Loading branch information
Marcel Holtmann authored and David S. Miller committed Sep 29, 2006
1 parent be6fdd2 commit cfba908
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9c724357f432df5ddc83a62c8168414a604cd420
refs/heads/master: 0ac53939a06c610b394aeb0211b985804f2d2da3
2 changes: 1 addition & 1 deletion trunk/drivers/bluetooth/hci_vhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/net/bluetooth/hci.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@
#define HCI_NOTIFY_VOICE_SETTING 3

/* HCI device types */
#define HCI_VHCI 0
#define HCI_VIRTUAL 0
#define HCI_USB 1
#define HCI_PCCARD 2
#define HCI_UART 3
#define HCI_RS232 4
#define HCI_PCI 5
#define HCI_SDIO 6

/* HCI device quirks */
enum {
Expand Down
4 changes: 3 additions & 1 deletion trunk/net/bluetooth/hci_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
static inline char *typetostr(int type)
{
switch (type) {
case HCI_VHCI:
case HCI_VIRTUAL:
return "VIRTUAL";
case HCI_USB:
return "USB";
Expand All @@ -28,6 +28,8 @@ static inline char *typetostr(int type)
return "RS232";
case HCI_PCI:
return "PCI";
case HCI_SDIO:
return "SDIO";
default:
return "UNKNOWN";
}
Expand Down

0 comments on commit cfba908

Please sign in to comment.