diff options
author | Joseph Hwang <josephsih@chromium.org> | 2021-08-15 20:17:17 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-08-30 16:44:49 +0200 |
commit | 927ac8da35db763fe22d338614777120fcfade70 (patch) | |
tree | 002c3c91ffe1525ee4d336fd45ae74ab60a7d48a /drivers/bluetooth/btintel.h | |
parent | ae7d925b5c0432c058fd175a70f1de6eee7a3f89 (diff) | |
download | linux-927ac8da35db763fe22d338614777120fcfade70.tar.gz linux-927ac8da35db763fe22d338614777120fcfade70.tar.bz2 linux-927ac8da35db763fe22d338614777120fcfade70.zip |
Bluetooth: set quality report callback for Intel
This patch sets up set_quality_report callback for Intel to
set and reset the debug features.
Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Signed-off-by: Joseph Hwang <josephsih@chromium.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/bluetooth/btintel.h')
-rw-r--r-- | drivers/bluetooth/btintel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/bluetooth/btintel.h b/drivers/bluetooth/btintel.h index aa64072bbe68..fe02cb9ac96c 100644 --- a/drivers/bluetooth/btintel.h +++ b/drivers/bluetooth/btintel.h @@ -204,6 +204,7 @@ int btintel_configure_setup(struct hci_dev *hdev); void btintel_bootup(struct hci_dev *hdev, const void *ptr, unsigned int len); void btintel_secure_send_result(struct hci_dev *hdev, const void *ptr, unsigned int len); +int btintel_set_quality_report(struct hci_dev *hdev, bool enable); #else static inline int btintel_check_bdaddr(struct hci_dev *hdev) @@ -294,4 +295,9 @@ static inline void btintel_secure_send_result(struct hci_dev *hdev, const void *ptr, unsigned int len) { } + +static inline int btintel_set_quality_report(struct hci_dev *hdev, bool enable) +{ + return -ENODEV; +} #endif |