Skip to content

Commit 8825ce0

Browse files
Thalleyjhedberg
authored andcommitted
Bluetooth: Shell: Fix PA shell command parameter cnt
The sync create and sync delete dit not have the correct amount of mandatory and optional parameters set in the SHELL_CMD_ARG declarations. Signed-off-by: Emil Gydesen <[email protected]>
1 parent 68a357e commit 8825ce0

File tree

1 file changed

+2
-2
lines changed
  • subsys/bluetooth/shell

1 file changed

+2
-2
lines changed

subsys/bluetooth/shell/bt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2786,9 +2786,9 @@ SHELL_STATIC_SUBCMD_SET_CREATE(bt_cmds,
27862786
SHELL_CMD_ARG(per-adv-sync-create, NULL,
27872787
HELP_ADDR_LE " <sid> [skip <count>] [timeout <ms>] [aoa] "
27882788
"[aod_1us] [aod_2us] [cte_only]",
2789-
cmd_per_adv_sync_create, 2, 7),
2789+
cmd_per_adv_sync_create, 4, 6),
27902790
SHELL_CMD_ARG(per-adv-sync-delete, NULL, "[<index>]",
2791-
cmd_per_adv_sync_delete, 1, 0),
2791+
cmd_per_adv_sync_delete, 1, 1),
27922792
#endif /* defined(CONFIG_BT_PER_ADV_SYNC) */
27932793
#endif
27942794
#endif /* CONFIG_BT_BROADCASTER */

0 commit comments

Comments
 (0)