[BlueZ v8 08/15] tools/mgmt-tester: increase max adv inst

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The kernel now allows for up to five concurrent advertising instances.
This patch adapts the tests to the new setting.
---
 tools/mgmt-tester.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c
index 272ac4d..5aad110 100644
--- a/tools/mgmt-tester.c
+++ b/tools/mgmt-tester.c
@@ -3868,7 +3868,7 @@ static const uint8_t read_adv_features_rsp_1[] =  {
 	0x1f, 0x00, 0x00, 0x00,	/* supported flags */
 	0x1f,			/* max_adv_data_len */
 	0x1f,			/* max_scan_rsp_len */
-	0x01,			/* max_instances */
+	0x05,			/* max_instances */
 	0x00,			/* num_instances */
 };
 
@@ -3883,7 +3883,7 @@ static const uint8_t read_adv_features_rsp_2[] =  {
 	0x1f, 0x00, 0x00, 0x00,	/* supported flags */
 	0x1f,			/* max_adv_data_len */
 	0x1f,			/* max_scan_rsp_len */
-	0x01,			/* max_instances */
+	0x05,			/* max_instances */
 	0x01,			/* num_instances */
 	0x01,			/* instance identifiers */
 };
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux