projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c5af8
)
Bluetooth: hci_core: increase max adv inst
author
Florian Grandel
<fgrandel@gmail.com>
Thu, 18 Jun 2015 01:16:53 +0000
(
03:16
+0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 18 Jun 2015 16:11:53 +0000
(18:11 +0200)
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>
include/net/bluetooth/hci_core.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/bluetooth/hci_core.h
b/include/net/bluetooth/hci_core.h
index a6cec6d21affd88deb1dd2358f7be11388f1d1aa..3bd618d3e55dcf8735fb878a1d59bc8cf18bcc2d 100644
(file)
--- 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