mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
The existence of the network driver ioctl() method should depend on CONFIG_NETDEV_IOCTL rather than CONFIG_NETDEV_PHY_IOCTL. The former enables the method, the later enables a subset of possible driver IOCTLs. This change should be basically a no-operation. The affected ioctl methods only support those subset of driver IOCTLs selected by CONFIG_NETDEV_PHY_IOCTL and the network logic will tolerate a nul ioctl method.
This commit is contained in:
@@ -1172,7 +1172,7 @@ int misoc_net_initialize(int intf)
|
||||
#endif
|
||||
priv->misoc_net_dev.d_private = (FAR void *)g_misoc_net; /* Used to recover private state from dev */
|
||||
|
||||
/* Create a watchdog for timing polling for and timing of transmisstions */
|
||||
/* Create a watchdog for timing polling for and timing of transmissions */
|
||||
|
||||
priv->misoc_net_txpoll = wd_create(); /* Create periodic poll timer */
|
||||
priv->misoc_net_txtimeout = wd_create(); /* Create TX timeout timer */
|
||||
|
||||
Reference in New Issue
Block a user