diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2025-03-06 13:37:55 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-03-07 11:57:39 +0300 |
commit | 43e04077170799d0e6289f3e928f727e401b3d79 (patch) | |
tree | 03aa9d014a46358140831aec45f977c1930360ab /tools/perf/scripts/python/stackcollapse.py | |
parent | 1801a94299a5c7fc1a6825e92e1ce0dc7099faa9 (diff) | |
download | linux-43e04077170799d0e6289f3e928f727e401b3d79.tar.xz |
wifi: mac80211: flush the station before moving it to UN-AUTHORIZED state
We first want to flush the station to make sure we no longer have any
frames being Tx by the station before the station is moved to
un-authorized state. Failing to do that will lead to races: a frame may
be sent after the station's state has been changed.
Since the API clearly states that the driver can't fail the sta_state()
transition down the list of state, we can easily flush the station
first, and only then call the driver's sta_state().
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250306123626.450bc40e8b04.I636ba96843c77f13309c15c9fd6eb0c5a52a7976@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions