Skip to content
Commit 33483a6b authored by Wei Yongjun's avatar Wei Yongjun Committed by Johannes Berg
Browse files

mac80211: fix missing unlock on error in ieee80211_mark_sta_auth()

Add the missing unlock before return from function
ieee80211_mark_sta_auth() in the error handling case.

Cc: stable@vger.kernel.org
Fixes: fc107a93

 ("mac80211: Helper function for marking STA authenticated")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
[use result variable/label instead of duplicating]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 05cc09de
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment