patch-2.1.31 linux/drivers/net/wavelan.c
Next file: linux/drivers/net/x25_asy.c
Previous file: linux/drivers/net/tunnel.c
Back to the patch index
Back to the overall index
-  Lines: 8
 -  Date:
Mon Mar 31 12:52:31 1997
 -  Orig file: 
v2.1.30/linux/drivers/net/wavelan.c
 -  Orig date: 
Mon Mar 17 14:54:26 1997
 
diff -u --recursive --new-file v2.1.30/linux/drivers/net/wavelan.c linux/drivers/net/wavelan.c
@@ -2354,6 +2354,7 @@
   netif_rx(skb);
 
   lp->stats.rx_packets++;
+  lp->stats.rx_bytes+=sksize;
 
 #ifdef DEBUG_RX_TRACE
   printk(KERN_DEBUG "%s: <-wv_packet_read()\n", dev->name);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov