mirror of
https://github.com/apache/nuttx.git
synced 2026-09-12 06:20:57 +08:00
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>