diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-04-29 16:41:53 +0200 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-05-10 23:56:14 +0200 |
commit | 562db532760827f6ce30801a08e6b568848bc9f2 (patch) | |
tree | 42c3995c06d7bd7837db4d4862387fa1f72fd2aa /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | mac80211: remove association work when processing deauth request (diff) | |
download | linux-562db532760827f6ce30801a08e6b568848bc9f2.tar.xz linux-562db532760827f6ce30801a08e6b568848bc9f2.zip |
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index ef1720a852e9..4d4c6516430a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h @@ -1304,6 +1304,8 @@ struct iwl_priv { struct delayed_work alive_start; struct delayed_work scan_check; + struct completion firmware_loading_complete; + /*For 3945 only*/ struct delayed_work thermal_periodic; struct delayed_work rfkill_poll; |