drivers: nrf_wifi: Move util to nrf70 shell
Move the wifi_util to the newly created nrf70 shell as a sub-shell. Signed-off-by: Sachin D Kulkarni <Sachin.Kulkarni@nordicsemi.no>
This commit is contained in:
parent
ceead4eb0a
commit
b3958717f7
2 changed files with 6 additions and 6 deletions
|
@ -62,8 +62,11 @@ zephyr_library_sources_ifdef(CONFIG_NRF70_UTIL
|
|||
src/wifi_util.c
|
||||
)
|
||||
|
||||
if(CONFIG_NRF70_UTIL OR CONFIG_NRF70_DEBUG_SHELL)
|
||||
zephyr_library_sources(src/shell.c)
|
||||
endif()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_NRF70_DEBUG_SHELL
|
||||
src/shell.c
|
||||
src/debug_shell.c
|
||||
)
|
||||
|
||||
|
|
|
@ -1090,7 +1090,7 @@ unlock:
|
|||
}
|
||||
|
||||
SHELL_STATIC_SUBCMD_SET_CREATE(
|
||||
nrf_wifi_util_subcmds,
|
||||
nrf70_util,
|
||||
SHELL_CMD_ARG(he_ltf,
|
||||
NULL,
|
||||
"0 - 1x HE LTF\n"
|
||||
|
@ -1202,10 +1202,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(
|
|||
SHELL_SUBCMD_SET_END);
|
||||
|
||||
|
||||
SHELL_CMD_REGISTER(wifi_util,
|
||||
&nrf_wifi_util_subcmds,
|
||||
"nRF Wi-Fi utility shell commands",
|
||||
NULL);
|
||||
SHELL_SUBCMD_ADD((nrf70), util, &nrf70_util, "nRF70 utility commands\n", NULL, 0, 0);
|
||||
|
||||
|
||||
static int nrf_wifi_util_init(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue