]> git.baikalelectronics.ru Git - kernel.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)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 21 Feb 2020 09:59:36 +0000 (10:59 +0100)
commit3a5f9147339f40a259c65198d6972b7d20e222f0
tree15625817eb1361e8b41f9cdfd811e396830cec19
parent58104ae72fbec19c6d1fc782b99b40626af1ee41
mac80211: Remove a redundant mutex unlock

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: d1d0f8a2c778 ("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>
net/mac80211/mlme.c