|
@@ -1204,7 +1204,7 @@ static int mace_rx(struct net_device *dev, unsigned char RxCnt)
|
|
|
|
|
|
dev->last_rx = jiffies;
|
|
dev->last_rx = jiffies;
|
|
lp->linux_stats.rx_packets++;
|
|
lp->linux_stats.rx_packets++;
|
|
- lp->linux_stats.rx_bytes += skb->len;
|
|
|
|
|
|
+ lp->linux_stats.rx_bytes += pkt_len;
|
|
outb(0xFF, ioaddr + AM2150_RCV_NEXT); /* skip to next frame */
|
|
outb(0xFF, ioaddr + AM2150_RCV_NEXT); /* skip to next frame */
|
|
continue;
|
|
continue;
|
|
} else {
|
|
} else {
|