]> asedeno.scripts.mit.edu Git - linux.git/commit
rsi: missing unlocks on error paths
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 25 Aug 2017 08:43:51 +0000 (11:43 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Aug 2017 16:48:32 +0000 (19:48 +0300)
commit0270639e899e21ad0531621f23a238d4bff63653
tree2e5688e8e4170f5d59ff894e22f121752e417a9b
parentfc4386729491f8f1cb9516f2e3c2ff1d7af6cb4e
rsi: missing unlocks on error paths

There is a missing unlock if rsi_find_sta() fails in
rsi_mac80211_ampdu_action() or if we hit the -EINVAL path in
rsi_mac80211_sta_add().

Fixes: 3528608f3a79 ("rsi: handle station connection in AP mode")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_mac80211.c