From: Rajkumar Manoharan Date: Tue, 17 Jul 2012 11:46:42 +0000 (+0530) Subject: ath9k: Fix race in reset-work usage X-Git-Tag: v3.6-rc1~125^2~57^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=124b979baeb2d7a0593be8d392f43725578478c1;p=pandora-kernel.git ath9k: Fix race in reset-work usage Using work_pending() to defer certain operations when a HW-reset work has been queued is racy since the check would return false when the work item is actually in execution. Use SC_OP_HW_RESET instead to fix this race. Also, unify the reset debug statistics maintenance. Signed-off-by: Rajkumar Manoharan Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville --- Reading git-diff-tree failed