commit | 599b13adc2bf236da8f86a34b0b51168e19d3524 | [log] [tgz] |
---|---|---|
author | Bob Copeland <me@bobcopeland.com> | Tue Jan 18 08:06:43 2011 -0500 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Jan 18 15:10:31 2011 -0500 |
tree | f7f319d20d367360a8324070e9a6a9a77a3c6b08 | |
parent | 811ea256b30b37091b5bbf41517404cf98ab56c1 [diff] |
ath5k: fix locking in tx_complete_poll_work 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 <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>