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

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