diff --git a/subsys/net/lib/zperf/zperf_shell.c b/subsys/net/lib/zperf/zperf_shell.c index d92a7aaa9d1..012fe2231ba 100644 --- a/subsys/net/lib/zperf/zperf_shell.c +++ b/subsys/net/lib/zperf/zperf_shell.c @@ -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"); @@ -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"); diff --git a/west.yml b/west.yml index 1b3f7063b7a..95daefdf50d 100644 --- a/west.yml +++ b/west.yml @@ -198,7 +198,7 @@ manifest: groups: - hal - name: hal_nordic - revision: a5a2277d4399939e9aa67a71ca9eb411c85a1a7d + revision: 243c6708278364516c6ca1dcccc00c5f721095fa path: modules/hal/nordic groups: - hal