ath10k: release conf_mutex if vdev_start() fails
authorKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Feb 2014 16:13:12 +0000 (18:13 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 14 Feb 2014 11:20:45 +0000 (13:20 +0200)
commit75459e3338928bdbe9618b626a6471764e2e53f0
tree7f18a215042ae156abea04e1281f8d52e4a0f7ae
parentef8c00174a8738ea334197c0164143354644cb16
ath10k: release conf_mutex if vdev_start() fails

I modified Michal's commit c930f744bdb0 ("ath10k: implement channel switching") to return
when vdev_start() fails, but forgot to release conf_mutex.

Found by coccinelle:

>> drivers/net/wireless/ath/ath10k/mac.c:2745:5-11: preceding lock on line 2663

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c