diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 8 |
6 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 03c032e9b581..c0c35d38cf5e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -2056,7 +2056,7 @@ iwl4965_get_channel_txpower_info(struct iwl_priv *priv, | |||
2056 | { | 2056 | { |
2057 | const struct iwl_channel_info *ch_info; | 2057 | const struct iwl_channel_info *ch_info; |
2058 | 2058 | ||
2059 | ch_info = iwl4965_get_channel_info(priv, band, channel); | 2059 | ch_info = iwl_get_channel_info(priv, band, channel); |
2060 | 2060 | ||
2061 | if (!is_channel_valid(ch_info)) | 2061 | if (!is_channel_valid(ch_info)) |
2062 | return NULL; | 2062 | return NULL; |
@@ -2764,7 +2764,7 @@ int iwl4965_hw_channel_switch(struct iwl_priv *priv, u16 channel) | |||
2764 | 2764 | ||
2765 | band = priv->band == IEEE80211_BAND_2GHZ; | 2765 | band = priv->band == IEEE80211_BAND_2GHZ; |
2766 | 2766 | ||
2767 | ch_info = iwl4965_get_channel_info(priv, priv->band, channel); | 2767 | ch_info = iwl_get_channel_info(priv, priv->band, channel); |
2768 | 2768 | ||
2769 | is_fat = is_fat_channel(priv->staging_rxon.flags); | 2769 | is_fat = is_fat_channel(priv->staging_rxon.flags); |
2770 | 2770 | ||
@@ -4574,7 +4574,7 @@ static u8 iwl4965_is_channel_extension(struct iwl_priv *priv, | |||
4574 | { | 4574 | { |
4575 | const struct iwl_channel_info *ch_info; | 4575 | const struct iwl_channel_info *ch_info; |
4576 | 4576 | ||
4577 | ch_info = iwl4965_get_channel_info(priv, band, channel); | 4577 | ch_info = iwl_get_channel_info(priv, band, channel); |
4578 | if (!is_channel_valid(ch_info)) | 4578 | if (!is_channel_valid(ch_info)) |
4579 | return 0; | 4579 | return 0; |
4580 | 4580 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h index 1d7e8f9cf5ee..b73c1544e909 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965.h | |||
@@ -1264,7 +1264,7 @@ static inline int is_channel_ibss(const struct iwl_channel_info *ch) | |||
1264 | return ((ch->flags & EEPROM_CHANNEL_IBSS)) ? 1 : 0; | 1264 | return ((ch->flags & EEPROM_CHANNEL_IBSS)) ? 1 : 0; |
1265 | } | 1265 | } |
1266 | 1266 | ||
1267 | extern const struct iwl_channel_info *iwl4965_get_channel_info( | 1267 | extern const struct iwl_channel_info *iwl_get_channel_info( |
1268 | const struct iwl_priv *priv, enum ieee80211_band band, u16 channel); | 1268 | const struct iwl_priv *priv, enum ieee80211_band band, u16 channel); |
1269 | 1269 | ||
1270 | /* Requires full declaration of iwl_priv before including */ | 1270 | /* Requires full declaration of iwl_priv before including */ |
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 0e9c3b3d98ce..da51349cbd8b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -191,7 +191,7 @@ int iwlcore_set_rxon_channel(struct iwl_priv *priv, | |||
191 | enum ieee80211_band band, | 191 | enum ieee80211_band band, |
192 | u16 channel) | 192 | u16 channel) |
193 | { | 193 | { |
194 | if (!iwl4965_get_channel_info(priv, band, channel)) { | 194 | if (!iwl_get_channel_info(priv, band, channel)) { |
195 | IWL_DEBUG_INFO("Could not set channel to %d [%d]\n", | 195 | IWL_DEBUG_INFO("Could not set channel to %d [%d]\n", |
196 | channel, band); | 196 | channel, band); |
197 | return -EINVAL; | 197 | return -EINVAL; |
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.c b/drivers/net/wireless/iwlwifi/iwl-eeprom.c index 32ebec35f2af..72cad56fbd93 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.c +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.c | |||
@@ -329,7 +329,7 @@ static int iwl4965_set_fat_chan_info(struct iwl_priv *priv, | |||
329 | struct iwl_channel_info *ch_info; | 329 | struct iwl_channel_info *ch_info; |
330 | 330 | ||
331 | ch_info = (struct iwl_channel_info *) | 331 | ch_info = (struct iwl_channel_info *) |
332 | iwl4965_get_channel_info(priv, band, channel); | 332 | iwl_get_channel_info(priv, band, channel); |
333 | 333 | ||
334 | if (!is_channel_valid(ch_info)) | 334 | if (!is_channel_valid(ch_info)) |
335 | return -1; | 335 | return -1; |
@@ -534,7 +534,7 @@ EXPORT_SYMBOL(iwl_free_channel_map); | |||
534 | * | 534 | * |
535 | * Based on band and channel number. | 535 | * Based on band and channel number. |
536 | */ | 536 | */ |
537 | const struct iwl_channel_info *iwl4965_get_channel_info( | 537 | const struct iwl_channel_info *iwl_get_channel_info( |
538 | const struct iwl_priv *priv, | 538 | const struct iwl_priv *priv, |
539 | enum ieee80211_band band, u16 channel) | 539 | enum ieee80211_band band, u16 channel) |
540 | { | 540 | { |
@@ -557,5 +557,5 @@ const struct iwl_channel_info *iwl4965_get_channel_info( | |||
557 | 557 | ||
558 | return NULL; | 558 | return NULL; |
559 | } | 559 | } |
560 | EXPORT_SYMBOL(iwl4965_get_channel_info); | 560 | EXPORT_SYMBOL(iwl_get_channel_info); |
561 | 561 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.h b/drivers/net/wireless/iwlwifi/iwl-eeprom.h index 8a583947b2c7..bd0a042ca77f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.h +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.h | |||
@@ -368,7 +368,7 @@ void iwlcore_eeprom_release_semaphore(struct iwl_priv *priv); | |||
368 | 368 | ||
369 | int iwl_init_channel_map(struct iwl_priv *priv); | 369 | int iwl_init_channel_map(struct iwl_priv *priv); |
370 | void iwl_free_channel_map(struct iwl_priv *priv); | 370 | void iwl_free_channel_map(struct iwl_priv *priv); |
371 | const struct iwl_channel_info *iwl4965_get_channel_info( | 371 | const struct iwl_channel_info *iwl_get_channel_info( |
372 | const struct iwl_priv *priv, | 372 | const struct iwl_priv *priv, |
373 | enum ieee80211_band band, u16 channel); | 373 | enum ieee80211_band band, u16 channel); |
374 | 374 | ||
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"); |