summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hp/hp100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/hp/hp100.c')
-rw-r--r--drivers/net/ethernet/hp/hp100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hp/hp100.c b/drivers/net/ethernet/hp/hp100.c
index 3daf2d4a7ca0..631dbc7b4dbb 100644
--- a/drivers/net/ethernet/hp/hp100.c
+++ b/drivers/net/ethernet/hp/hp100.c
@@ -1102,7 +1102,7 @@ static int hp100_open(struct net_device *dev)
return -EAGAIN;
}
- dev->trans_start = jiffies; /* prevent tx timeout */
+ netif_trans_update(dev); /* prevent tx timeout */
netif_start_queue(dev);
lp->lan_type = hp100_sense_lan(dev);
OpenPOWER on IntegriCloud