aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2012-02-14 10:02:59 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2012-02-27 12:24:30 -0500
commite8ad9a0638cb50dad48201f461f4739740f036b3 (patch)
tree5783283c80c29537cb6a84bb643e2a234756ab57 /drivers
parent0ea10f2b469ee51ed9948dd24cdd9582a98b885e (diff)
ath6kl: Fix missing release of semaphore in ath6kl_stop_txrx()
This fixes smatch warning "inconsistent returns sem:&ar->sem". Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath6kl/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c
index 72f1b4f52b2e..6fed6280174f 100644
--- a/drivers/net/wireless/ath/ath6kl/init.c
+++ b/drivers/net/wireless/ath/ath6kl/init.c
@@ -1733,5 +1733,7 @@ void ath6kl_stop_txrx(struct ath6kl *ar)
1733 ath6kl_reset_device(ar, ar->target_type, true, true); 1733 ath6kl_reset_device(ar, ar->target_type, true, true);
1734 1734
1735 clear_bit(WLAN_ENABLED, &ar->flag); 1735 clear_bit(WLAN_ENABLED, &ar->flag);
1736
1737 up(&ar->sem);
1736} 1738}
1737EXPORT_SYMBOL(ath6kl_stop_txrx); 1739EXPORT_SYMBOL(ath6kl_stop_txrx);