mirror of
https://github.com/breeze303/openwrt-ipq.git
synced 2025-12-16 19:31:06 +00:00
ath11k_nss: fix incorrect tx/rx stats WDS
Should be 'rx' Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
parent
289ed42154
commit
d3845d033a
@ -536,7 +536,7 @@ Signed-off-by: Sathishkumar Muruganandam <murugana@codeaurora.org>
|
||||
|
||||
- ATH11K_NSS_TXRX_NETDEV_STATS(rx, peer->vif, rx_bytes, rx_packets);
|
||||
+ if (peer->nss.ext_vdev_up)
|
||||
+ ATH11K_NSS_TXRX_NETDEV_STATS(tx, peer->nss.ext_vif, rx_bytes, rx_packets);
|
||||
+ ATH11K_NSS_TXRX_NETDEV_STATS(rx, peer->nss.ext_vif, rx_bytes, rx_packets);
|
||||
+ else
|
||||
+ ATH11K_NSS_TXRX_NETDEV_STATS(rx, peer->vif, rx_bytes, rx_packets);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user