mwifiex: correct TX byte count statistics
[linux-drm-fsl-dcu.git] / drivers / net / wireless / mwifiex / main.c
index 78e8a6666cc6edad81bd87c98dcf0353af371866..36c79cff4924a4bd8092266d248d284b103f0065 100644 (file)
@@ -648,6 +648,7 @@ mwifiex_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
        tx_info = MWIFIEX_SKB_TXCB(skb);
        tx_info->bss_num = priv->bss_num;
        tx_info->bss_type = priv->bss_type;
+       tx_info->pkt_len = skb->len;
 
        /* Record the current time the packet was queued; used to
         * determine the amount of time the packet was queued in