summaryrefslogtreecommitdiff
path: root/lib/hci.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2016-04-22 19:22:44 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2016-04-22 19:24:03 +0300
commitbfb16c94ad8dd1314415cddf2ffe2b9b8df5d0f4 (patch)
treefbce1e909077dc21b6277fc94592255632cf0e88 /lib/hci.c
parent76295afb7f4e29b6d6d8e4a528e5eb05037a09f5 (diff)
downloadbluez-bfb16c94ad8dd1314415cddf2ffe2b9b8df5d0f4.tar.gz
lib: Add recently introduced SPI & I2C bus defines
Diffstat (limited to 'lib/hci.c')
-rw-r--r--lib/hci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/hci.c b/lib/hci.c
index c25be9e5f..c339085f0 100644
--- a/lib/hci.c
+++ b/lib/hci.c
@@ -156,6 +156,10 @@ char *hci_bustostr(int bus)
return "PCI";
case HCI_SDIO:
return "SDIO";
+ case HCI_SPI:
+ return "SPI";
+ case HCI_I2C:
+ return "I2C";
default:
return "UNKNOWN";
}