summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2026-10-31 20:01:33 +0000
committerJohannes Berg <johannes.berg@intel.com>2026-11-10 11:13:18 +0100
commitf2e5f7c8aa40c832225df1ab8d813f6074fbacde (patch)
treedbb583f22a4872cc202a0c5d0d042c5cdd4015ab /tools/perf/scripts/python/bin
parent1cd7d06d83b202241e5b7e7e0c502a2d0a5ebe3a (diff)
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: ab5d6dd9c9b0 ("wifi: mac80211: implement unlocked STA statistics") Signed-off-by: David Carlier <devnexen@gmail.com> Link: https://patch.msgid.link/20261031200133.473693-1-devnexen@gmail.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions