소스 검색

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>
Florian Grandel 10 년 전
부모
커밋
db25be6657
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/net/bluetooth/hci_core.h

+ 1 - 1
include/net/bluetooth/hci_core.h

@@ -169,7 +169,7 @@ struct adv_info {
 	__u8	scan_rsp_data[HCI_MAX_AD_LENGTH];
 	__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_DEFAULT_ADV_DURATION	2
 
 
 #define HCI_MAX_SHORT_NAME_LENGTH	10
 #define HCI_MAX_SHORT_NAME_LENGTH	10