Skip to content

Commit

Permalink
[nrf fromtree] Bluetooth: Shell: Fix cmd_chan_map
Browse files Browse the repository at this point in the history
Allow the channel map to be set when periodic advertising or acting as
an ISO source.

Signed-off-by: Adam Cavender <[email protected]>
(cherry picked from commit ac4f9a6)
  • Loading branch information
adamfc2000 authored and sean-madigan committed Feb 14, 2024
1 parent d70e68f commit 985c4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/bluetooth/shell/bt.c
Original file line number Diff line number Diff line change
Expand Up @@ -4286,7 +4286,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(bt_cmds,
SHELL_CMD_ARG(phy-update, NULL, "<tx_phy> [rx_phy] [s2] [s8]",
cmd_conn_phy_update, 2, 3),
#endif
#if defined(CONFIG_BT_CENTRAL)
#if defined(CONFIG_BT_CENTRAL) || defined(CONFIG_BT_BROADCASTER)
SHELL_CMD_ARG(channel-map, NULL, "<channel-map: XXXXXXXXXX> (36-0)",
cmd_chan_map, 2, 1),
#endif /* CONFIG_BT_CENTRAL */
Expand Down

0 comments on commit 985c4cd

Please sign in to comment.