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)
commit0daa63ed4c6c4302790ce67b7a90c0997ceb7514
tree15625817eb1361e8b41f9cdfd811e396830cec19
parenta7ee7d44b57c9ae174088e53a668852b7f4f452d
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: 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>
net/mac80211/mlme.c