diff --git a/subsys/bluetooth/shell/bt.c b/subsys/bluetooth/shell/bt.c index b2a558e25bf..d636baecce0 100644 --- a/subsys/bluetooth/shell/bt.c +++ b/subsys/bluetooth/shell/bt.c @@ -2567,8 +2567,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(bt_cmds, SHELL_CMD_ARG(test_rx, NULL, " ", cmd_test_rx, 4, 0), SHELL_CMD_ARG(test_end, NULL, HELP_NONE, cmd_test_end, 1, 0), -#endif /* CONFIG_BT_CTLR_ADV_EXT */ - SHELL_CMD(ull_reset, NULL, HELP_NONE, cmd_ull_reset), +#endif /* CONFIG_BT_CTLR_DTM */ SHELL_SUBCMD_SET_END ); diff --git a/subsys/bluetooth/shell/ll.c b/subsys/bluetooth/shell/ll.c index 396b399b628..e0702887049 100644 --- a/subsys/bluetooth/shell/ll.c +++ b/subsys/bluetooth/shell/ll.c @@ -346,10 +346,3 @@ exit: } #endif /* CONFIG_BT_OBSERVER */ #endif /* CONFIG_BT_CTLR_ADV_EXT */ - -int cmd_ull_reset(const struct shell *shell, size_t argc, char *argv[]) -{ - ll_reset(); - - return 0; -} diff --git a/subsys/bluetooth/shell/ll.h b/subsys/bluetooth/shell/ll.h index 7d8d64be384..2f3e318bfa3 100644 --- a/subsys/bluetooth/shell/ll.h +++ b/subsys/bluetooth/shell/ll.h @@ -21,6 +21,4 @@ int cmd_scanx(const struct shell *shell, size_t argc, char *argv[]); int cmd_test_tx(const struct shell *shell, size_t argc, char *argv[]); int cmd_test_rx(const struct shell *shell, size_t argc, char *argv[]); int cmd_test_end(const struct shell *shell, size_t argc, char *argv[]); - -int cmd_ull_reset(const struct shell *shell, size_t argc, char *argv[]); #endif /* __LL_H */