commit | 0d36d71da2a3e5b28b4e7743c0041515cca798ef | [log] [tgz] |
---|---|---|
author | Sujith <Sujith.Manoharan@atheros.com> | Fri Apr 23 10:28:19 2010 +0530 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Apr 26 14:21:21 2010 -0400 |
tree | 7ff0d830e72a4a15ffe05b17f3afa0987448466e | |
parent | ba44370175d2e743065382508ed7823cc83cea0a [diff] |
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 <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>