diff --git a/net/netdev/netdev_ioctl.c b/net/netdev/netdev_ioctl.c index e77d7b75e5..8cc035bce9 100644 --- a/net/netdev/netdev_ioctl.c +++ b/net/netdev/netdev_ioctl.c @@ -1530,6 +1530,7 @@ static int netdev_file_ioctl(FAR struct socket *psock, int cmd, ret = -ENOSYS; } } + break; default: ret = -ENOTTY;