iwmc3200wifi: SDIO disable race fix
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 16 Oct 2009 05:18:54 +0000 (13:18 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:48:26 +0000 (16:48 -0400)
commitf96cca8483c1b0bcc8002dc466159bf8fd53ca47
tree1778a0cfb4e970f08239798a9b9b46de03aaf1a0
parent88e6195a911bce85adcc14e8377aa619e8054ab2
iwmc3200wifi: SDIO disable race fix

When calling sdio->bus_disable(), we are flushing the command lists before
disabling the sdio function. We can thus potentially get a command response
after having flushed the command list.
To avoid that race, we have to call iwm_reset() after disabling the sdio
function.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/sdio.c