diff options
Diffstat (limited to 'drivers/net/ethernet/synopsys/dwc_eth_qos.c')
-rw-r--r-- | drivers/net/ethernet/synopsys/dwc_eth_qos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/synopsys/dwc_eth_qos.c b/drivers/net/ethernet/synopsys/dwc_eth_qos.c index af11ed1e0bcc..158213cd6cdd 100644 --- a/drivers/net/ethernet/synopsys/dwc_eth_qos.c +++ b/drivers/net/ethernet/synopsys/dwc_eth_qos.c | |||
@@ -949,7 +949,7 @@ static void dwceqos_adjust_link(struct net_device *ndev) | |||
949 | 949 | ||
950 | if (status_change) { | 950 | if (status_change) { |
951 | if (phydev->link) { | 951 | if (phydev->link) { |
952 | lp->ndev->trans_start = jiffies; | 952 | netif_trans_update(lp->ndev); |
953 | dwceqos_link_up(lp); | 953 | dwceqos_link_up(lp); |
954 | } else { | 954 | } else { |
955 | dwceqos_link_down(lp); | 955 | dwceqos_link_down(lp); |
@@ -2203,7 +2203,7 @@ static int dwceqos_start_xmit(struct sk_buff *skb, struct net_device *ndev) | |||
2203 | netdev_sent_queue(ndev, skb->len); | 2203 | netdev_sent_queue(ndev, skb->len); |
2204 | spin_unlock_bh(&lp->tx_lock); | 2204 | spin_unlock_bh(&lp->tx_lock); |
2205 | 2205 | ||
2206 | ndev->trans_start = jiffies; | 2206 | netif_trans_update(ndev); |
2207 | return 0; | 2207 | return 0; |
2208 | 2208 | ||
2209 | tx_error: | 2209 | tx_error: |