diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.h | 12 |
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); | |||
304 | extern u8 iwl3945_sync_sta(struct iwl_priv *priv, int sta_id, | 304 | extern 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 | ||
308 | struct iwl_priv; | ||
309 | |||
310 | void iwl3945_rfkill_set_hw_state(struct iwl_priv *priv); | ||
311 | void iwl3945_rfkill_unregister(struct iwl_priv *priv); | ||
312 | int iwl3945_rfkill_init(struct iwl_priv *priv); | ||
313 | #else | ||
314 | static inline void iwl3945_rfkill_set_hw_state(struct iwl_priv *priv) {} | ||
315 | static inline void iwl3945_rfkill_unregister(struct iwl_priv *priv) {} | ||
316 | static inline int iwl3945_rfkill_init(struct iwl_priv *priv) { return 0; } | ||
317 | #endif | ||
318 | |||
319 | static inline int iwl3945_is_associated(struct iwl_priv *priv) | 307 | static 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; |