]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mac80211: Move stats allocation to core
authorBreno Leitao <leitao@debian.org>
Fri, 7 Jun 2024 10:20:43 +0000 (03:20 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Jun 2024 11:04:24 +0000 (13:04 +0200)
commit7b7890f3861634d1ec762a2697072dff42f65319
tree1656eaf1d7b567d99360253de74c6c81586f923a
parent7f12e26a194d0043441f870708093d9c2c3bad7d
wifi: mac80211: Move stats allocation to core

With commit 34d21de99cea9 ("net: Move {l,t,d}stats allocation to core and
convert veth & vrf"), stats allocation could be done on net core instead
of this driver.

With this new approach, the driver doesn't have to bother with error
handling (allocation failure checking, making sure free happens in the
right spot, etc). This is core responsibility now.

Move mac80211 driver to leverage the core allocation.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://msgid.link/20240607102045.235071-1-leitao@debian.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c