>From 76059561a984ef92f19e1babdf42614e99f7719e Mon Sep 17 00:00:00 2001
From: Augusto Fraga Giachero <augustofg96@gmail.com>
Date: Thu, 13 Oct 2016 13:07:14 -0300
Subject: [PATCH 1/1] Patch for newer kernels

Solves the compiling errors on 4.6 kernels and newer.
---
 ixx_usb_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ixx_usb_core.c b/ixx_usb_core.c
index 20eb0cf..701f1f0 100644
--- a/ixx_usb_core.c
+++ b/ixx_usb_core.c
@@ -218,7 +218,7 @@ static void ixxat_usb_write_bulk_callback(struct urb *urb)
                 netdev->stats.tx_bytes += context->dlc;
 
                 /* prevent tx timeout */
-                netdev->trans_start = jiffies;
+                netif_trans_update(netdev);
                 break;
 
 
@@ -323,7 +323,7 @@ static netdev_tx_t ixxat_usb_ndo_start_xmit(struct sk_buff *skb,
                                         err);
                 }
         } else {
-                netdev->trans_start = jiffies;
+                netif_trans_update(netdev);
 
                 /* slow down tx path */
                 if (atomic_read(&dev->active_tx_urbs) >= IXXAT_USB_MAX_TX_URBS)
-- 
2.10.0


