]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/net/bluetooth/hci_core.h
Bluetooth: Add debugfs entry for setting vendor diagnostic mode
[karo-tx-linux.git] / include / net / bluetooth / hci_core.h
index d473b67a2c65061e236df6797a4f47889dc659b8..f28470e5968202bd2ad7646bbefa7d9ebd646f88 100644 (file)
@@ -398,6 +398,7 @@ struct hci_dev {
        int (*send)(struct hci_dev *hdev, struct sk_buff *skb);
        void (*notify)(struct hci_dev *hdev, unsigned int evt);
        void (*hw_error)(struct hci_dev *hdev, u8 code);
+       int (*set_diag)(struct hci_dev *hdev, bool enable);
        int (*set_bdaddr)(struct hci_dev *hdev, const bdaddr_t *bdaddr);
 };