]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mac80211: Remove a redundant mutex unlock
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Fri, 21 Feb 2020 09:47:20 +0000 (10:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Mar 2020 15:45:19 +0000 (16:45 +0100)
commitae118f61b62aa8abd40abce6b8e3127349c97fcd
treeb3044fc46ae3cc6f324e235256aee73072be0b6a
parent733d5016f151b24ca6980f6b566a83f5079fee0b
mac80211: Remove a redundant mutex unlock

commit 0daa63ed4c6c4302790ce67b7a90c0997ceb7514 upstream.

The below-mentioned commit changed the code to unlock *inside*
the function, but previously the unlock was *outside*. It failed
to remove the outer unlock, however, leading to double unlock.

Fix this.

Fixes: 33483a6b88e4 ("mac80211: fix missing unlock on error in ieee80211_mark_sta_auth()")
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Link: https://lore.kernel.org/r/20200221104719.cce4741cf6eb.I671567b185c8a4c2409377e483fd149ce590f56d@changeid
[rewrite commit message to better explain what happened]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mlme.c