# HG changeset patch # User asl # Date 1056707792 0 # Node ID 5ca9a1223b9be58048df5fb63740484cd9755581 # Parent bcf45cd81df7c5f7fa17df1b76f99f0cc79b9d3a * src/usbsethdrv.c (usbs_ethdrv_ioctl): Return 0 when we handle ETH_DRV_GET_IF_STATS* otherwise the caller thinks we don't support these ioctl calls. diff --git a/packages/io/usb/eth/slave/current/ChangeLog b/packages/io/usb/eth/slave/current/ChangeLog --- a/packages/io/usb/eth/slave/current/ChangeLog +++ b/packages/io/usb/eth/slave/current/ChangeLog @@ -1,3 +1,9 @@ +2003-06-27 Manu Sharma + + * src/usbsethdrv.c (usbs_ethdrv_ioctl): Return 0 when we handle + ETH_DRV_GET_IF_STATS* otherwise the caller thinks we don't support + these ioctl calls. + 2003-03-23 Iztok Zupet * doc/usbseth.sgml: Remove .eps and .gif and introduce .png for diff --git a/packages/io/usb/eth/slave/current/src/usbsethdrv.c b/packages/io/usb/eth/slave/current/src/usbsethdrv.c --- a/packages/io/usb/eth/slave/current/src/usbsethdrv.c +++ b/packages/io/usb/eth/slave/current/src/usbsethdrv.c @@ -573,6 +573,7 @@ usbs_ethdrv_ioctl(struct eth_drv_sc* sc, p->rx_count = eth->rx_count; p->tx_count = eth->tx_count; p->tx_queue_len = 1; + result=0; } break; #endif