staging: ks7010: adapt to new trans_start handling
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 31 May 2016 10:56:40 +0000 (12:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 05:42:53 +0000 (22:42 -0700)
trans_start is gone from netdevice, so use the new helper function to
set the mark.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c

index 3e2828333723056635edddf28dafedc5a8b62078..ac3354bf6f8c8af165dde352577ea7b83727ad30 100644 (file)
@@ -3398,7 +3398,7 @@ int ks_wlan_start_xmit(struct sk_buff *skb, struct net_device *dev)
                netif_stop_queue(dev);
 
        rc = hostif_data_request(priv, skb);
-       dev->trans_start = jiffies;
+       netif_trans_update(dev);
 
        DPRINTK(4, "rc=%d\n", rc);
        if (rc) {