mirror of
https://github.com/apache/nuttx.git
synced 2026-05-15 03:58:06 +08:00
66d9397320
fix regression by:
commit fd53db56b6
Author: chao an <anchao@xiaomi.com>
Date: Wed Sep 7 10:56:09 2022 +0800
net/netdev: simplify handling of netdev ifr ioctl()
1. call netdev_ifr_dev() only once
2. unify the error code of ENODEV
Signed-off-by: chao an <anchao@xiaomi.com>