diff options
| author | 2026-03-03 17:06:39 +0100 | |
|---|---|---|
| committer | 2026-03-06 11:06:27 +0100 | |
| commit | ac6f24cc9c0a9aefa55ec9696dcafa971d4d760b (patch) | |
| tree | 5e22aea284bb593c461cfe9c4bc77287e54a4026 /tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com/git: | |
| parent | wifi: mac80211: remove keys after disabling beaconing (diff) | |
wifi: mac80211: use jiffies_delta_to_msecs() for sta_info inactive times
Inactive times of around 0xffffffff milliseconds have been observed on
an ath9k device on ARM. This is likely due to a memory ordering race in
the jiffies_to_msecs(jiffies - last_active()) calculation causing an
overflow when the observed jiffies is below ieee80211_sta_last_active().
Use jiffies_delta_to_msecs() instead to avoid this problem.
Fixes: 7bbdd2d98797 ("mac80211: implement station stats retrieval")
Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Link: https://patch.msgid.link/20260303161701.31808-1-nicolas.cavallari@green-communications.fr
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
