diff --git a/subsys/net/l2/ieee802154/ieee802154_shell.c b/subsys/net/l2/ieee802154/ieee802154_shell.c index 777e7c6e46f..4369b3034f6 100644 --- a/subsys/net/l2/ieee802154/ieee802154_shell.c +++ b/subsys/net/l2/ieee802154/ieee802154_shell.c @@ -227,7 +227,7 @@ static int cmd_ieee802154_scan(const struct shell *sh, uint64_t scan_type; int ret = 0; - if (argc < 3) { + if (argc < 4) { shell_help(sh); return -ENOEXEC; }