xtensa/esp32: Fix macro "CONFIG_NETDEV_IOCTL" control range error
This commit is contained in:
parent
7097cfd000
commit
f137a7b552
@ -1989,10 +1989,8 @@ static int emac_ioctl(struct net_driver_s *dev, int cmd, unsigned long arg)
|
||||
}
|
||||
|
||||
return ret;
|
||||
#else
|
||||
return -EINVAL;
|
||||
#endif /* CONFIG_NETDEV_IOCTL */
|
||||
}
|
||||
#endif /* CONFIG_NETDEV_IOCTL */
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
Loading…
Reference in New Issue
Block a user