From: Bob Copeland Date: Tue, 18 Jan 2011 13:06:43 +0000 (-0500) Subject: ath5k: fix locking in tx_complete_poll_work X-Git-Tag: v2.6.38-rc2~33^2~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=599b13adc2bf236da8f86a34b0b51168e19d3524;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed