mirror of
https://github.com/apache/nuttx.git
synced 2026-03-28 02:59:15 +08:00
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>
This commit is contained in: