mac80211_hwsim: record stats in non-netlink path
authorNguyen Dinh Phi <phind.uet@gmail.com>
Tue, 22 Jun 2021 15:24:29 +0000 (23:24 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 09:29:13 +0000 (11:29 +0200)
commit93efeeea0fe6b3352e492e855a7262bc5645af14
treee031f176b819f2322857c7c093253d413bc42810
parent626c30f9e77354301ff9162c3bdddaf92d9b5cf3
mac80211_hwsim: record stats in non-netlink path

The data go through mac80211_hwsim_tx_frame_no_nl() wasn't counted.

Signed-off-by: Nguyen Dinh Phi <phind.uet@gmail.com>
Link: https://lore.kernel.org/r/20210622152429.881230-1-phind.uet@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c