summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-04-13 03:14:46 -0700
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-04-22 10:02:39 -0700
commit3e14c1fd75d909bfcc6caab79c544921fd02bf73 (patch)
tree81b86f6a9774ac27606a7046ffb129b65d41ddab /drivers/net/wireless/iwlwifi/iwl-agn.h
parentbc4f8adac6b30ee5f03dad267896add7e58db729 (diff)
downloadlinux-3e14c1fd75d909bfcc6caab79c544921fd02bf73.tar.gz
linux-3e14c1fd75d909bfcc6caab79c544921fd02bf73.tar.bz2
linux-3e14c1fd75d909bfcc6caab79c544921fd02bf73.zip
iwlagn: refactor up path
Starting the device consists of many things, refactor out enabling the hardware and also return -ERFKILL when the rfkill signal is found to be asserted (which makes more sense anyway, but is also required now to make the __iwl_up function return right away.) Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.h b/drivers/net/wireless/iwlwifi/iwl-agn.h
index 1211f457ee4c..ef1bbd415b16 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.h
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.h
@@ -128,7 +128,9 @@ static inline void iwl_synchronize_irq(struct iwl_priv *priv)
tasklet_kill(&priv->irq_tasklet);
}
+int iwl_prepare_card_hw(struct iwl_priv *priv);
+int iwlagn_start_device(struct iwl_priv *priv);
void iwlagn_stop_device(struct iwl_priv *priv);
/* tx queue */