[PATCH] bcm43xx: set trans_start on TX to prevent bogus timeouts
Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
a208c4e1ea
commit
b79367a5ea
@ -3522,6 +3522,7 @@ static inline int bcm43xx_tx(struct bcm43xx_private *bcm,
|
||||
err = bcm43xx_pio_tx(bcm, txb);
|
||||
else
|
||||
err = bcm43xx_dma_tx(bcm, txb);
|
||||
bcm->net_dev->trans_start = jiffies;
|
||||
|
||||
return err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user