]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: add missing mutex unlock on failpath
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 19 Aug 2015 11:08:53 +0000 (13:08 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 26 Aug 2015 08:04:26 +0000 (11:04 +0300)
commit118381d4a0863a8b5fcee7b6d127a5dc41a9d24c
tree218ab8e03119fbdff42ae47394905e0b4ba47c12
parent538673ef27ff1b53eab1949fcd5825f9951a5e96
ath10k: add missing mutex unlock on failpath

Kernel would complain about leaving a held lock
after going back to userspace and would
subsequently deadlock.

Fixes: b53dbb44a475 ("ath10k: fix peer limit enforcement")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c