Bluetooth: Add HCI device identifier for VIRTIO devices
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 3 Apr 2020 19:44:07 +0000 (21:44 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 5 Apr 2020 11:53:16 +0000 (14:53 +0300)
This patch assigns the next free HCI device identifier to Bluetooth
devices based on VIRTIO devices.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci.h

index 086a9e9..79de2a6 100644 (file)
@@ -68,6 +68,7 @@
 #define HCI_SPI                7
 #define HCI_I2C                8
 #define HCI_SMD                9
+#define HCI_VIRTIO     10
 
 /* HCI controller types */
 #define HCI_PRIMARY    0x00