mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 17:41:29 +00:00
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>
This commit is contained in:
parent
0ea10f2b46
commit
e8ad9a0638
@ -1733,5 +1733,7 @@ void ath6kl_stop_txrx(struct ath6kl *ar)
|
||||
ath6kl_reset_device(ar, ar->target_type, true, true);
|
||||
|
||||
clear_bit(WLAN_ENABLED, &ar->flag);
|
||||
|
||||
up(&ar->sem);
|
||||
}
|
||||
EXPORT_SYMBOL(ath6kl_stop_txrx);
|
||||
|
Loading…
Reference in New Issue
Block a user