summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2025-01-02 16:20:06 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 10:01:18 +0100
commit9efb5531271fa7ebae993b2a33a705d9947c7ce6 (patch)
treeedf93abf0719ffa3b8d7a977939a12901f9203e2 /drivers/clk
parent3397a7e59d9819839f74b2150d889bc03e7db6e2 (diff)
downloadlinux-9efb5531271fa7ebae993b2a33a705d9947c7ce6.tar.gz
linux-9efb5531271fa7ebae993b2a33a705d9947c7ce6.tar.bz2
linux-9efb5531271fa7ebae993b2a33a705d9947c7ce6.zip
wifi: mac80211: don't flush non-uploaded STAs
[ Upstream commit aa3ce3f8fafa0b8fb062f28024855ea8cb3f3450 ] If STA state is pre-moved to AUTHORIZED (such as in IBSS scenarios) and insertion fails, the station is freed. In this case, the driver never knew about the station, so trying to flush it is unexpected and may crash. Check if the sta was uploaded to the driver before and fix this. Fixes: d00800a289c9 ("wifi: mac80211: add flush_sta method") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250102161730.e3d10970a7c7.I491bbcccc46f835ade07df0640a75f6ed92f20a3@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions