summaryrefslogtreecommitdiffstats
path: root/drivers/net/wavelan.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-09 20:33:35 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-09 20:33:35 +0000
commit116674acc97ba75a720329996877077d988443a2 (patch)
tree6a3f2ff0b612ae2ee8a3f3509370c9e6333a53b3 /drivers/net/wavelan.c
parent71118c319fcae4a138f16e35b4f7e0a6d53ce2ca (diff)
Merge with Linux 2.4.2.
Diffstat (limited to 'drivers/net/wavelan.c')
-rw-r--r--drivers/net/wavelan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wavelan.c b/drivers/net/wavelan.c
index 5c43c9a3a..be85118d3 100644
--- a/drivers/net/wavelan.c
+++ b/drivers/net/wavelan.c
@@ -2469,8 +2469,9 @@ wv_packet_read(device * dev, u16 buf_off, int sksize)
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);