aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-ucode.c
diff options
context:
space:
mode:
authorDon Fry <donald.h.fry@intel.com>2012-02-06 19:00:14 -0500
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-02-17 13:28:06 -0500
commit96502ceb1c122cf5496c9176bb690a52b3fab362 (patch)
treeeca2439d4a72c7e2ec7330bc50ce9cc6c8fe66d8 /drivers/net/wireless/iwlwifi/iwl-ucode.c
parent737805ff7a15105b77d83c7c3b17fa0868cb864e (diff)
iwlwifi: move firmware_loading_complete to iwl_nic
Move firmware_loading_complete from iwl_priv to iwl_nic and rename it to more accurately reflect what it does. Signed-off-by: Don Fry <donald.h.fry@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-ucode.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-ucode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-ucode.c b/drivers/net/wireless/iwlwifi/iwl-ucode.c
index 0ba8ea910274..51a8fb353a6e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-ucode.c
+++ b/drivers/net/wireless/iwlwifi/iwl-ucode.c
@@ -1273,7 +1273,7 @@ static void iwl_ucode_callback(const struct firmware *ucode_raw, void *context)
1273 1273
1274 /* We have our copies now, allow OS release its copies */ 1274 /* We have our copies now, allow OS release its copies */
1275 release_firmware(ucode_raw); 1275 release_firmware(ucode_raw);
1276 complete(&priv->firmware_loading_complete); 1276 complete(&nic->request_firmware_complete);
1277 return; 1277 return;
1278 1278
1279 try_again: 1279 try_again:
@@ -1287,7 +1287,7 @@ static void iwl_ucode_callback(const struct firmware *ucode_raw, void *context)
1287 IWL_ERR(priv, "failed to allocate pci memory\n"); 1287 IWL_ERR(priv, "failed to allocate pci memory\n");
1288 iwl_dealloc_ucode(trans(priv)); 1288 iwl_dealloc_ucode(trans(priv));
1289 out_unbind: 1289 out_unbind:
1290 complete(&priv->firmware_loading_complete); 1290 complete(&nic->request_firmware_complete);
1291 device_release_driver(trans(priv)->dev); 1291 device_release_driver(trans(priv)->dev);
1292 release_firmware(ucode_raw); 1292 release_firmware(ucode_raw);
1293} 1293}