aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-09-14 05:54:42 -0400
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-09-14 05:54:42 -0400
commit71511c866bce04f931e462ad0cce3f122aa0c447 (patch)
tree83713e5e695f04bcbdfbf69818ca03d01c4ddc45 /drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
parent712b24adc105518f7cbbb6f9f353efea48954bb9 (diff)
parent2cddddc56a1179aa71b460ad616176c237d4a243 (diff)
Merge remote-tracking branch 'iwlwifi-fixes/master' into NEXT
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-nvm-parse.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-nvm-parse.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
index 8e7af798abd1..40718f814f8d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
+++ b/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
@@ -148,8 +148,6 @@ static const u8 iwl_nvm_channels_family_8000[] = {
148#define LAST_2GHZ_HT_PLUS 9 148#define LAST_2GHZ_HT_PLUS 9
149#define LAST_5GHZ_HT 161 149#define LAST_5GHZ_HT 161
150 150
151#define DEFAULT_MAX_TX_POWER 16
152
153/* rate data (static) */ 151/* rate data (static) */
154static struct ieee80211_rate iwl_cfg80211_rates[] = { 152static struct ieee80211_rate iwl_cfg80211_rates[] = {
155 { .bitrate = 1 * 10, .hw_value = 0, .hw_value_short = 0, }, 153 { .bitrate = 1 * 10, .hw_value = 0, .hw_value_short = 0, },
@@ -297,7 +295,7 @@ static int iwl_init_channel_map(struct device *dev, const struct iwl_cfg *cfg,
297 * Default value - highest tx power value. max_power 295 * Default value - highest tx power value. max_power
298 * is not used in mvm, and is used for backwards compatibility 296 * is not used in mvm, and is used for backwards compatibility
299 */ 297 */
300 channel->max_power = DEFAULT_MAX_TX_POWER; 298 channel->max_power = IWL_DEFAULT_MAX_TX_POWER;
301 is_5ghz = channel->band == IEEE80211_BAND_5GHZ; 299 is_5ghz = channel->band == IEEE80211_BAND_5GHZ;
302 IWL_DEBUG_EEPROM(dev, 300 IWL_DEBUG_EEPROM(dev,
303 "Ch. %d [%sGHz] %s%s%s%s%s%s%s(0x%02x %ddBm): Ad-Hoc %ssupported\n", 301 "Ch. %d [%sGHz] %s%s%s%s%s%s%s(0x%02x %ddBm): Ad-Hoc %ssupported\n",