patch-2.4.2 linux/drivers/net/wavelan.c
Next file: linux/drivers/net/wavelan.h
Previous file: linux/drivers/net/wan/z85230.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Tue Feb 13 13:15:05 2001
- Orig file:
v2.4.1/linux/drivers/net/wavelan.c
- Orig date:
Thu Oct 12 14:19:32 2000
diff -u --recursive --new-file v2.4.1/linux/drivers/net/wavelan.c linux/drivers/net/wavelan.c
@@ -2469,8 +2469,9 @@
netif_rx(skb);
/* Keep statistics up to date */
+ dev->last_rx = jiffies;
lp->stats.rx_packets++;
- lp->stats.rx_bytes += skb->len;
+ 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 (who was at: slshen@lbl.gov)