net/netdev: fix switch case missing break

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2022-03-19 14:47:37 +08:00 committed by Petro Karashchenko
parent 316797a7f6
commit 28860b5242

View File

@ -1530,6 +1530,7 @@ static int netdev_file_ioctl(FAR struct socket *psock, int cmd,
ret = -ENOSYS;
}
}
break;
default:
ret = -ENOTTY;