Skip to content
Commit 883b8dc1 authored by Rafael Mendonca's avatar Rafael Mendonca Committed by Johannes Berg
Browse files

wifi: mac80211: mlme: Fix missing unlock on beacon RX



Commit 98b0b467 ("wifi: mac80211: mlme: use correct link_sta")
switched to link station instead of deflink and added some checks to do
that, which are done with the 'sta_mtx' mutex held. However, the error
path of these checks does not unlock 'sta_mtx' before returning.

Fixes: 98b0b467 ("wifi: mac80211: mlme: use correct link_sta")
Signed-off-by: default avatarRafael Mendonca <rafaelmendsr@gmail.com>
Link: https://lore.kernel.org/r/20220924184042.778676-1-rafaelmendsr@gmail.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent be92292b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment