Count injected frames in interface stats

This commit is contained in:
kimocoder 2019-11-13 20:06:59 +01:00
parent caa18fb70f
commit ee2beb3494

View File

@ -4475,6 +4475,8 @@ s32 rtw_monitor_xmit_entry(struct sk_buff *skb, struct net_device *ndev)
pattrib->last_txcmdsz = pattrib->pktlen;
dump_mgntframe(padapter, pmgntframe);
pxmitpriv->tx_pkts++;
pxmitpriv->tx_bytes += skb->len;
fail:
rtw_skb_free(skb);