diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-05-08 13:31:42 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-11 15:23:55 -0400 |
commit | 782571f46fc7d2bbb0288ab0d676c47a88449a5c (patch) | |
tree | da935459a0cc36db6bae25e7ef4e06e6f5297d74 /drivers | |
parent | 0b258582fef3a9b15b2372d99164859361faa8db (diff) |
iwlwifi: make iwl_set_rate static
It's not needed outside iwl-core.c
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 1366222bb50a..77f4b43b9b74 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -1120,7 +1120,7 @@ void iwl_connection_init_rx_config(struct iwl_priv *priv, int mode) | |||
1120 | } | 1120 | } |
1121 | EXPORT_SYMBOL(iwl_connection_init_rx_config); | 1121 | EXPORT_SYMBOL(iwl_connection_init_rx_config); |
1122 | 1122 | ||
1123 | void iwl_set_rate(struct iwl_priv *priv) | 1123 | static void iwl_set_rate(struct iwl_priv *priv) |
1124 | { | 1124 | { |
1125 | const struct ieee80211_supported_band *hw = NULL; | 1125 | const struct ieee80211_supported_band *hw = NULL; |
1126 | struct ieee80211_rate *rate; | 1126 | struct ieee80211_rate *rate; |
@@ -1166,7 +1166,6 @@ void iwl_set_rate(struct iwl_priv *priv) | |||
1166 | priv->staging_rxon.ofdm_basic_rates = | 1166 | priv->staging_rxon.ofdm_basic_rates = |
1167 | (IWL_OFDM_BASIC_RATES_MASK >> IWL_FIRST_OFDM_RATE) & 0xFF; | 1167 | (IWL_OFDM_BASIC_RATES_MASK >> IWL_FIRST_OFDM_RATE) & 0xFF; |
1168 | } | 1168 | } |
1169 | EXPORT_SYMBOL(iwl_set_rate); | ||
1170 | 1169 | ||
1171 | void iwl_rx_csa(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb) | 1170 | void iwl_rx_csa(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb) |
1172 | { | 1171 | { |
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h index bd7f9d9616bc..f3544ea559a2 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.h +++ b/drivers/net/wireless/iwlwifi/iwl-core.h | |||
@@ -363,8 +363,6 @@ int iwl_hwrate_to_plcp_idx(u32 rate_n_flags); | |||
363 | 363 | ||
364 | u8 iwl_rate_get_lowest_plcp(struct iwl_priv *priv); | 364 | u8 iwl_rate_get_lowest_plcp(struct iwl_priv *priv); |
365 | 365 | ||
366 | void iwl_set_rate(struct iwl_priv *priv); | ||
367 | |||
368 | u8 iwl_toggle_tx_ant(struct iwl_priv *priv, u8 ant_idx); | 366 | u8 iwl_toggle_tx_ant(struct iwl_priv *priv, u8 ant_idx); |
369 | 367 | ||
370 | static inline u32 iwl_ant_idx_to_flags(u8 ant_idx) | 368 | static inline u32 iwl_ant_idx_to_flags(u8 ant_idx) |