Files
David Carlier f2e5f7c8aa wifi: mac80211: fix unlocked STA statistics fallback
The unlocked station statistics path returns -EAGAIN whenever the driver
has no atomic statistics op, even if it has no statistics op at all.
For drivers without any statistics op, which is most of them, every
get/dump therefore falls back to the wiphy mutex and the unlocked path
never helps.

Only return -EAGAIN when the driver has a locked op but no atomic one.
The link variant also checked the wrong op before calling the atomic
link callback, ignored its return value, and lost its entry tracepoint.
Fix those too.

Fixes: ab5d6dd9c9 ("wifi: mac80211: implement unlocked STA statistics")
Signed-off-by: David Carlier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
2026-11-10 11:13:18 +01:00
..
…
…
…
…
…
…
…
…
…
…