iwlagn: wait for asynchronous firmware loading
authorJohannes Berg <johannes.berg@intel.com>
Thu, 29 Apr 2010 14:41:53 +0000 (07:41 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 10 May 2010 21:56:14 +0000 (14:56 -0700)
commit562db532760827f6ce30801a08e6b568848bc9f2
tree42c3995c06d7bd7837db4d4862387fa1f72fd2aa
parent79733a865c7fd778ce45e3503962b3a875b0a153
iwlagn: wait for asynchronous firmware loading

When we kick off a firmware loading process,
and then unbind from the pci device right
away, we get into trouble. Avoid that by
waiting for the firmware loading to finish
(whether successfully or not) before the
unbind in iwl_pci_remove.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-dev.h