Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions subsys/net/lib/zperf/zperf_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,11 @@ static int cmd_udp_download_stop(const struct shell *sh, size_t argc,
{
int ret;

if (!IS_ENABLED(CONFIG_NET_UDP)) {
shell_warn(sh, "UDP not supported");
return -ENOEXEC;
}

ret = zperf_udp_download_stop();
if (ret < 0) {
shell_fprintf(sh, SHELL_WARNING, "UDP server not running!\n");
Expand Down Expand Up @@ -1492,6 +1497,11 @@ static int cmd_tcp_download_stop(const struct shell *sh, size_t argc,
{
int ret;

if (!IS_ENABLED(CONFIG_NET_TCP)) {
shell_warn(sh, "TCP not supported");
return -ENOEXEC;
}

ret = zperf_tcp_download_stop();
if (ret < 0) {
shell_fprintf(sh, SHELL_WARNING, "TCP server not running!\n");
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ manifest:
groups:
- hal
- name: hal_nordic
revision: a5a2277d4399939e9aa67a71ca9eb411c85a1a7d
revision: 243c6708278364516c6ca1dcccc00c5f721095fa
path: modules/hal/nordic
groups:
- hal
Expand Down