diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-04-23 10:28:19 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-26 14:21:21 -0400 |
commit | 0d36d71da2a3e5b28b4e7743c0041515cca798ef (patch) | |
tree | 7ff0d830e72a4a15ffe05b17f3afa0987448466e /block/bsg.c | |
parent | ba44370175d2e743065382508ed7823cc83cea0a (diff) | |
download | kernel_samsung_tuna-0d36d71da2a3e5b28b4e7743c0041515cca798ef.zip kernel_samsung_tuna-0d36d71da2a3e5b28b4e7743c0041515cca798ef.tar.gz kernel_samsung_tuna-0d36d71da2a3e5b28b4e7743c0041515cca798ef.tar.bz2 |
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>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions