From: Sujith Date: Fri, 23 Apr 2010 04:58:19 +0000 (+0530) Subject: ath9k_htc: Fix WMI command race X-Git-Tag: v2.6.35-rc1~473^2~167^2~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d36d71da2a3e5b28b4e7743c0041515cca798ef;p=pandora-kernel.git ath9k_htc: Fix WMI command race My patch "ath9k_htc: Handle WMI timeouts properly" introduced a race condition in WMI command processing. The last issued command should be stored _before_ issuing a WMI command. Not doing this would result in the WMI event IRQ dropping correct command responses as invalid. Fix this race by storing the command id correctly. Signed-off-by: Sujith Signed-off-by: John W. Linville --- Reading git-diff-tree failed