summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
diff options
context:
space:
mode:
authorDon Fry <donald.h.fry@intel.com>2011-12-07 17:50:46 +0100
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-12-16 16:23:53 +0100
commit69a679b0dc79edaca521eba5b06edc5593455b76 (patch)
tree86351f516791c0b0a761883901e8edee15519227 /drivers/net/wireless/iwlwifi/iwl-agn-lib.c
parentiwlwifi: create iwl_mac80211 unregister routine (diff)
downloadlinux-69a679b0dc79edaca521eba5b06edc5593455b76.tar.xz
linux-69a679b0dc79edaca521eba5b06edc5593455b76.zip
iwlwifi: remove most of the iwl_priv references from iwl-ucode.c
Remove all but the last few references to iwl_priv from the lower level iwl-ucode.c, with resulting code changes. 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-agn-lib.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
index cf22f4814908..64cf439035c3 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
@@ -32,6 +32,7 @@
#include <linux/init.h>
#include <linux/sched.h>
+#include "iwl-wifi.h"
#include "iwl-dev.h"
#include "iwl-core.h"
#include "iwl-io.h"
@@ -1195,7 +1196,7 @@ int iwlagn_suspend(struct iwl_priv *priv,
priv->shrd->wowlan = true;
- ret = iwlagn_load_ucode_wait_alive(priv, IWL_UCODE_WOWLAN);
+ ret = iwl_load_ucode_wait_alive(trans(priv), IWL_UCODE_WOWLAN);
if (ret)
goto out;