xtensa/esp32: Fix macro "CONFIG_NETDEV_IOCTL" control range error

This commit is contained in:
Dong Heng 2022-12-30 15:08:20 +08:00 committed by Xiang Xiao
parent 7097cfd000
commit f137a7b552

View File

@ -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