changeset 1083:5ca9a1223b9b

* 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.
author asl
date Fri, 27 Jun 2003 09:56:32 +0000
parents bcf45cd81df7
children 04b94baa3683
files packages/io/usb/eth/slave/current/ChangeLog packages/io/usb/eth/slave/current/src/usbsethdrv.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <manu.sharma@ascom.ch>
+
+	* 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 <iz@vsr.si>
 
 	* doc/usbseth.sgml: Remove .eps and .gif and introduce .png for
--- 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