usbnet: Fix tx_packets stat for FLAG_MULTI_FRAME drivers
[cascardo/linux.git] / drivers / net / usb / asix_common.c
index 5c55f11..724a9b5 100644 (file)
@@ -188,6 +188,8 @@ struct sk_buff *asix_tx_fixup(struct usbnet *dev, struct sk_buff *skb,
                memcpy(skb_tail_pointer(skb), &padbytes, sizeof(padbytes));
                skb_put(skb, sizeof(padbytes));
        }
+
+       usbnet_set_skb_tx_stats(skb, 1);
        return skb;
 }