diff options
author | Assaf Krauss <assaf.krauss@intel.com> | 2008-03-21 16:53:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-25 16:41:54 -0400 |
commit | 8622e7058a8764223ae2305d980a38d07f034717 (patch) | |
tree | c8a7156d4240825ecb253a42ae95b12080551855 /drivers/net/wireless/iwlwifi/iwl4965-base.c | |
parent | 410e088d53e40c8133f6f666992859cd0dd21ff5 (diff) |
iwlwifi: rename iwl4965_get_channel_info to iwl_get_channel_info
iwl4965_get_channel_info was moved to iwlcore module
4965 needs to be stripped off
Signed-off-by: Assaf Krauss <assaf.krauss@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index bd5375984045..fac9bf1aa1d7 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -2271,7 +2271,7 @@ static void iwl4965_connection_init_rx_config(struct iwl_priv *priv) | |||
2271 | priv->staging_rxon.flags |= RXON_FLG_SHORT_PREAMBLE_MSK; | 2271 | priv->staging_rxon.flags |= RXON_FLG_SHORT_PREAMBLE_MSK; |
2272 | #endif | 2272 | #endif |
2273 | 2273 | ||
2274 | ch_info = iwl4965_get_channel_info(priv, priv->band, | 2274 | ch_info = iwl_get_channel_info(priv, priv->band, |
2275 | le16_to_cpu(priv->staging_rxon.channel)); | 2275 | le16_to_cpu(priv->staging_rxon.channel)); |
2276 | 2276 | ||
2277 | if (!ch_info) | 2277 | if (!ch_info) |
@@ -2309,7 +2309,7 @@ static int iwl4965_set_mode(struct iwl_priv *priv, int mode) | |||
2309 | if (mode == IEEE80211_IF_TYPE_IBSS) { | 2309 | if (mode == IEEE80211_IF_TYPE_IBSS) { |
2310 | const struct iwl_channel_info *ch_info; | 2310 | const struct iwl_channel_info *ch_info; |
2311 | 2311 | ||
2312 | ch_info = iwl4965_get_channel_info(priv, | 2312 | ch_info = iwl_get_channel_info(priv, |
2313 | priv->band, | 2313 | priv->band, |
2314 | le16_to_cpu(priv->staging_rxon.channel)); | 2314 | le16_to_cpu(priv->staging_rxon.channel)); |
2315 | 2315 | ||
@@ -5021,7 +5021,7 @@ static int iwl4965_get_channels_for_scan(struct iwl_priv *priv, | |||
5021 | 5021 | ||
5022 | scan_ch->channel = ieee80211_frequency_to_channel(channels[i].center_freq); | 5022 | scan_ch->channel = ieee80211_frequency_to_channel(channels[i].center_freq); |
5023 | 5023 | ||
5024 | ch_info = iwl4965_get_channel_info(priv, band, | 5024 | ch_info = iwl_get_channel_info(priv, band, |
5025 | scan_ch->channel); | 5025 | scan_ch->channel); |
5026 | if (!is_channel_valid(ch_info)) { | 5026 | if (!is_channel_valid(ch_info)) { |
5027 | IWL_DEBUG_SCAN("Channel %d is INVALID for this SKU.\n", | 5027 | IWL_DEBUG_SCAN("Channel %d is INVALID for this SKU.\n", |
@@ -6823,7 +6823,7 @@ static int iwl4965_mac_config(struct ieee80211_hw *hw, struct ieee80211_conf *co | |||
6823 | 6823 | ||
6824 | spin_lock_irqsave(&priv->lock, flags); | 6824 | spin_lock_irqsave(&priv->lock, flags); |
6825 | 6825 | ||
6826 | ch_info = iwl4965_get_channel_info(priv, conf->channel->band, | 6826 | ch_info = iwl_get_channel_info(priv, conf->channel->band, |
6827 | ieee80211_frequency_to_channel(conf->channel->center_freq)); | 6827 | ieee80211_frequency_to_channel(conf->channel->center_freq)); |
6828 | if (!is_channel_valid(ch_info)) { | 6828 | if (!is_channel_valid(ch_info)) { |
6829 | IWL_DEBUG_MAC80211("leave - invalid channel\n"); | 6829 | IWL_DEBUG_MAC80211("leave - invalid channel\n"); |