summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorFlorian Grandel <fgrandel@gmail.com>2015-06-18 03:16:53 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-06-18 18:11:53 +0200
commitdb25be6657a56ba2d68aae1f90d796f527f65689 (patch)
tree3c9924631b2a536e17c9a512c765542e6eed20fe /include/net/bluetooth
parentBluetooth: hci_core: remove obsolete adv_instance (diff)
downloadlinux-db25be6657a56ba2d68aae1f90d796f527f65689.tar.xz
linux-db25be6657a56ba2d68aae1f90d796f527f65689.zip
Bluetooth: hci_core: increase max adv inst
Now that all preconditions are present for actual multi-advertising, the number of allowed advertising instances can be larger than one. This patch increases the number of allowed advertising instances to 5. Signed-off-by: Florian Grandel <fgrandel@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index a6cec6d21aff..3bd618d3e55d 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -169,7 +169,7 @@ struct adv_info {
__u8 scan_rsp_data[HCI_MAX_AD_LENGTH];
};
-#define HCI_MAX_ADV_INSTANCES 1
+#define HCI_MAX_ADV_INSTANCES 5
#define HCI_DEFAULT_ADV_DURATION 2
#define HCI_MAX_SHORT_NAME_LENGTH 10