Skip to content

Commit efcbb1f

Browse files
lylezhu2012kartben
authored andcommitted
Bluetooth: tester: Classic: change L2CAP server count to 2
If CONFIG_BT_CLASSIC is enabled, change the count of L2CAP server to 2. Signed-off-by: Lyle Zhu <[email protected]>
1 parent 4450c9b commit efcbb1f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/bluetooth/tester/src/btp_l2cap.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME, CONFIG_BTTESTER_LOG_LEVEL);
3535

3636
/* CHANNELS cannot be greater than 0x7f. */
3737
#define CHANNELS 2
38+
39+
#if defined(CONFIG_BT_CLASSIC)
40+
#define SERVERS 2
41+
#else
3842
#define SERVERS 1
43+
#endif /* CONFIG_BT_CLASSIC */
3944

4045
#if defined(CONFIG_BT_CLASSIC) && defined(CONFIG_BT_L2CAP_MAX_WINDOW_SIZE)
4146
#define DATA_POOL_COUNT CONFIG_BT_L2CAP_MAX_WINDOW_SIZE

0 commit comments

Comments
 (0)