aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-07-08 07:57:15 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 21:01:28 -0400
commit0ac53939a06c610b394aeb0211b985804f2d2da3 (patch)
tree40e4b80f70a7cd42705e49a817950857055f2d1b /net
parent9c724357f432df5ddc83a62c8168414a604cd420 (diff)
[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 'net')
-rw-r--r--net/bluetooth/hci_sysfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/bluetooth/hci_sysfs.c b/net/bluetooth/hci_sysfs.c
index 58df4360d242..09c61615e961 100644
--- a/net/bluetooth/hci_sysfs.c
+++ b/net/bluetooth/hci_sysfs.c
@@ -16,7 +16,7 @@
16static inline char *typetostr(int type) 16static inline char *typetostr(int type)
17{ 17{
18 switch (type) { 18 switch (type) {
19 case HCI_VHCI: 19 case HCI_VIRTUAL:
20 return "VIRTUAL"; 20 return "VIRTUAL";
21 case HCI_USB: 21 case HCI_USB:
22 return "USB"; 22 return "USB";
@@ -28,6 +28,8 @@ static inline char *typetostr(int type)
28 return "RS232"; 28 return "RS232";
29 case HCI_PCI: 29 case HCI_PCI:
30 return "PCI"; 30 return "PCI";
31 case HCI_SDIO:
32 return "SDIO";
31 default: 33 default:
32 return "UNKNOWN"; 34 return "UNKNOWN";
33 } 35 }