Bluetooth: Send transport open and close monitor events
When the core starts or shuts down the actual HCI transport, send a new monitor event that indicates that this is happening. These new events correspond to HCI_DEV_OPEN and HCI_DEV_CLOSE events. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:

committed by
Johan Hedberg

parent
e9ca8bf157
commit
22db3cbcf9
@@ -39,6 +39,8 @@ struct hci_mon_hdr {
|
||||
#define HCI_MON_ACL_RX_PKT 5
|
||||
#define HCI_MON_SCO_TX_PKT 6
|
||||
#define HCI_MON_SCO_RX_PKT 7
|
||||
#define HCI_MON_OPEN_INDEX 8
|
||||
#define HCI_MON_CLOSE_INDEX 9
|
||||
|
||||
struct hci_mon_new_index {
|
||||
__u8 type;
|
||||
|
Reference in New Issue
Block a user