summaryrefslogtreecommitdiff
path: root/lib/hci.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2016-07-04 19:21:44 +0200
committerMarcel Holtmann <marcel@holtmann.org>2016-07-04 19:21:44 +0200
commit12cd2eda1a7648833ddfa39c0d02c90693fd2d99 (patch)
treea35fa517d2f8137b3dad160f1fd60660962db7bf /lib/hci.c
parent03f0497691537681a75fe498a6ca97e3f9dfbb64 (diff)
downloadbluez-12cd2eda1a7648833ddfa39c0d02c90693fd2d99.tar.gz
lib: Define HCI_PRIMARY and use it instead of HCI_BREDR
Diffstat (limited to 'lib/hci.c')
-rw-r--r--lib/hci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/hci.c b/lib/hci.c
index c339085f0..2ac09a15f 100644
--- a/lib/hci.c
+++ b/lib/hci.c
@@ -143,7 +143,7 @@ char *hci_bustostr(int bus)
{
switch (bus) {
case HCI_VIRTUAL:
- return "VIRTUAL";
+ return "Virtual";
case HCI_USB:
return "USB";
case HCI_PCCARD:
@@ -161,7 +161,7 @@ char *hci_bustostr(int bus)
case HCI_I2C:
return "I2C";
default:
- return "UNKNOWN";
+ return "Unknown";
}
}
@@ -173,12 +173,12 @@ char *hci_dtypetostr(int type)
char *hci_typetostr(int type)
{
switch (type) {
- case HCI_BREDR:
- return "BR/EDR";
+ case HCI_PRIMARY:
+ return "Primary";
case HCI_AMP:
return "AMP";
default:
- return "UNKNOWN";
+ return "Unknown";
}
}