mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 23:54:24 +00:00
Count injected frames in interface stats
This commit is contained in:
parent
caa18fb70f
commit
ee2beb3494
@ -4475,6 +4475,8 @@ s32 rtw_monitor_xmit_entry(struct sk_buff *skb, struct net_device *ndev)
|
|||||||
pattrib->last_txcmdsz = pattrib->pktlen;
|
pattrib->last_txcmdsz = pattrib->pktlen;
|
||||||
|
|
||||||
dump_mgntframe(padapter, pmgntframe);
|
dump_mgntframe(padapter, pmgntframe);
|
||||||
|
pxmitpriv->tx_pkts++;
|
||||||
|
pxmitpriv->tx_bytes += skb->len;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
rtw_skb_free(skb);
|
rtw_skb_free(skb);
|
||||||
|
Loading…
Reference in New Issue
Block a user