diff options
author | Lev Stipakov <lstipakov@gmail.com> | 2020-11-13 22:46:24 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-12-11 12:47:26 +0100 |
commit | 36ec144f041bedc2f14b32faa2da11d4d9660003 (patch) | |
tree | c0d7fc0cafe8444c73e6d120ace6bd3608b793e9 /net/wireless/reg.c | |
parent | rfkill: add a reason to the HW rfkill state (diff) | |
download | linux-36ec144f041bedc2f14b32faa2da11d4d9660003.tar.xz linux-36ec144f041bedc2f14b32faa2da11d4d9660003.zip |
net: mac80211: use core API for updating TX/RX stats
Commits
d3fd65484c781 ("net: core: add dev_sw_netstats_tx_add")
451b05f413d3f ("net: netdevice.h: sw_netstats_rx_add helper)
have added API to update net device per-cpu TX/RX stats.
Use core API instead of ieee80211_tx/rx_stats().
Signed-off-by: Lev Stipakov <lev@openvpn.net>
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/20201113214623.144663-1-lev@openvpn.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/reg.c')
0 files changed, 0 insertions, 0 deletions