[ath5k-devel] [PATCH] ath5k: fix locking in tx_complete_poll_work

2011-01-18 Thread Bob Copeland
ath5k_reset must be called with sc-lock. Since the tx queue watchdog runs in a workqueue and accesses sc, it's appropriate to just take the lock over the whole function. Signed-off-by: Bob Copeland m...@bobcopeland.com --- drivers/net/wireless/ath/ath5k/base.c |4 1 files changed, 4

Re: [ath5k-devel] [PATCH] ath5k: fix locking in tx_complete_poll_work

2011-01-18 Thread Bruno Randolf
On Tue January 18 2011 22:06:43 Bob Copeland wrote: ath5k_reset must be called with sc-lock. Since the tx queue watchdog runs in a workqueue and accesses sc, it's appropriate to just take the lock over the whole function. Signed-off-by: Bob Copeland m...@bobcopeland.com ---