* [PATCH] ath6kl: unblock fwlog_block_read() on exit
@ 2012-04-20 18:33 Thomas Pedersen
2012-04-23 11:39 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Pedersen @ 2012-04-20 18:33 UTC (permalink / raw)
To: kvalo; +Cc: ath6kl-devel, linux-wireless, Thomas Pedersen
Complete the waiting fwlog_block_read on debugfs cleanup, otherwise
userspace and module unload might softlock.
Signed-off-by: Thomas Pedersen <c_tpeder@qca.qualcomm.com>
---
drivers/net/wireless/ath/ath6kl/debug.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/ath/ath6kl/debug.c b/drivers/net/wireless/ath/ath6kl/debug.c
index fed3232..15cfe30 100644
--- a/drivers/net/wireless/ath/ath6kl/debug.c
+++ b/drivers/net/wireless/ath/ath6kl/debug.c
@@ -1818,6 +1818,7 @@ int ath6kl_debug_init_fs(struct ath6kl *ar)
void ath6kl_debug_cleanup(struct ath6kl *ar)
{
skb_queue_purge(&ar->debug.fwlog_queue);
+ complete(&ar->debug.fwlog_completion);
kfree(ar->debug.roam_tbl);
}
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ath6kl: unblock fwlog_block_read() on exit
2012-04-20 18:33 [PATCH] ath6kl: unblock fwlog_block_read() on exit Thomas Pedersen
@ 2012-04-23 11:39 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2012-04-23 11:39 UTC (permalink / raw)
To: Thomas Pedersen; +Cc: ath6kl-devel, linux-wireless
On 04/20/2012 09:33 PM, Thomas Pedersen wrote:
> Complete the waiting fwlog_block_read on debugfs cleanup, otherwise
> userspace and module unload might softlock.
>
> Signed-off-by: Thomas Pedersen <c_tpeder@qca.qualcomm.com>
Thanks, applied.
Kalle
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-23 11:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-20 18:33 [PATCH] ath6kl: unblock fwlog_block_read() on exit Thomas Pedersen
2012-04-23 11:39 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).