]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wifi: mac80211: read ethtool's sta_stats from sinfo
authorRyder Lee <ryder.lee@mediatek.com>
Thu, 25 Aug 2022 22:33:16 +0000 (06:33 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Aug 2022 07:56:54 +0000 (09:56 +0200)
commit83888346c57a422591004a715877bc5745978b6c
treeb52a9d81517730cb5665ecd0a906c5b798d14d73
parentabd27d063c2e85e45ffc4390247abf47e5b55997
wifi: mac80211: read ethtool's sta_stats from sinfo

Driver may update sinfo directly through .sta_statistics, so this
patch makes sure that ethool gets the correct statistics.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Link: https://lore.kernel.org/r/f9edff14dd7f5205acf1c21bae8e9d8f9802dd88.1661466499.git.ryder.lee@mediatek.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ethtool.c