aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-3945.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.h b/drivers/net/wireless/iwlwifi/iwl-3945.h
index 54538df50d3e..77e97eaa4e4e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945.h
+++ b/drivers/net/wireless/iwlwifi/iwl-3945.h
@@ -304,18 +304,6 @@ extern int iwl3945_txpower_set_from_eeprom(struct iwl_priv *priv);
304extern u8 iwl3945_sync_sta(struct iwl_priv *priv, int sta_id, 304extern u8 iwl3945_sync_sta(struct iwl_priv *priv, int sta_id,
305 u16 tx_rate, u8 flags); 305 u16 tx_rate, u8 flags);
306 306
307#ifdef CONFIG_IWL3945_RFKILL
308struct iwl_priv;
309
310void iwl3945_rfkill_set_hw_state(struct iwl_priv *priv);
311void iwl3945_rfkill_unregister(struct iwl_priv *priv);
312int iwl3945_rfkill_init(struct iwl_priv *priv);
313#else
314static inline void iwl3945_rfkill_set_hw_state(struct iwl_priv *priv) {}
315static inline void iwl3945_rfkill_unregister(struct iwl_priv *priv) {}
316static inline int iwl3945_rfkill_init(struct iwl_priv *priv) { return 0; }
317#endif
318
319static inline int iwl3945_is_associated(struct iwl_priv *priv) 307static inline int iwl3945_is_associated(struct iwl_priv *priv)
320{ 308{
321 return (priv->active39_rxon.filter_flags & RXON_FILTER_ASSOC_MSK) ? 1 : 0; 309 return (priv->active39_rxon.filter_flags & RXON_FILTER_ASSOC_MSK) ? 1 : 0;