aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-16 03:16:47 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-16 03:30:05 -0400
commitf8e808bd6853f1ada3614f99c95beac1bc2f2140 (patch)
treebcbc5e90b4d99c05ff604a6f035376f0622eff3f /include
parent46cad2edb13be71ae11da896411db8a42b82d555 (diff)
Bluetooth: Store scan response data in HCI device
The scan response data needs to be stored in HCI device and so add a buffer for it and also ensure to clear it when resetting the controller. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 0a3a10a76b6c..d987c795ba14 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -283,6 +283,8 @@ struct hci_dev {
283 __s8 adv_tx_power; 283 __s8 adv_tx_power;
284 __u8 adv_data[HCI_MAX_AD_LENGTH]; 284 __u8 adv_data[HCI_MAX_AD_LENGTH];
285 __u8 adv_data_len; 285 __u8 adv_data_len;
286 __u8 scan_rsp_data[HCI_MAX_AD_LENGTH];
287 __u8 scan_rsp_data_len;
286 288
287 int (*open)(struct hci_dev *hdev); 289 int (*open)(struct hci_dev *hdev);
288 int (*close)(struct hci_dev *hdev); 290 int (*close)(struct hci_dev *hdev);