projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ea10f2
)
ath6kl: Fix missing release of semaphore in ath6kl_stop_txrx()
author
Vasanthakumar Thiagarajan
<
[email protected]
>
Tue, 14 Feb 2012 15:02:59 +0000
(20:32 +0530)
committer
Kalle Valo
<
[email protected]
>
Mon, 27 Feb 2012 17:24:30 +0000
(19:24 +0200)
This fixes smatch warning "inconsistent returns sem:&ar->sem".
Signed-off-by: Vasanthakumar Thiagarajan <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/ath/ath6kl/init.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath6kl/init.c
b/drivers/net/wireless/ath/ath6kl/init.c
index 72f1b4f52b2efaabebda32e48f475293838d5127..6fed6280174f20203c0f1bddc4c1237bf740b7f0 100644
(file)
--- 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)
ath6kl_reset_device(ar, ar->target_type, true, true);
clear_bit(WLAN_ENABLED, &ar->flag);
+
+ up(&ar->sem);
}
EXPORT_SYMBOL(ath6kl_stop_txrx);