Fix dev->trans_start in wavelan
PATCH 1/1 Fix dev->trans_start in wavelan
Hi Marcelo,
Previous patch was for the Pcmcia driver, this one is for the
ISA driver. This fix an annoying kernel log message, does the right obvious thing and is very low risk.
Tested intensively on 2.4.19.
Regards,
Jean
-----------------------------------------------------------
drivers/net/wavelan.p.h renamed from drivers/net/wavelan.p.25.h +4 -0
@@ -345,6 +345,10 @@* - Fix spinlock stupid bugs that I left in. The driver is now SMP * compliant and doesn't lockup at startup. * +* Changes made for release in 2.4.20 : +* ---------------------------------- +* - Set dev->trans_start to avoid filling the logs +* * Wishes & dreams: * ---------------- * - roaming (see Pcmcia driver)
drivers/net/wavelan.c renamed from drivers/net/wavelan.25.c +3 -0
@@ -2782,6 +2782,9 @@ static inline int wv_packet_write(device (unsigned char *) &nop.nop_h.ac_link, sizeof(nop.nop_h.ac_link)); +/* Make sure the watchdog will keep quiet for a while */ + dev->trans_start = jiffies; +/* Keep stats up to date. */ lp->stats.tx_bytes += length;