diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 57a1d70f2abf..41b45a2778bd 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -5395,6 +5395,7 @@ static int iwl3945_init_geos(struct iwl3945_priv *priv) | |||
5395 | geo_ch->center_freq = ieee80211chan2mhz(ch->channel); | 5395 | geo_ch->center_freq = ieee80211chan2mhz(ch->channel); |
5396 | geo_ch->max_power = ch->max_power_avg; | 5396 | geo_ch->max_power = ch->max_power_avg; |
5397 | geo_ch->max_antenna_gain = 0xff; | 5397 | geo_ch->max_antenna_gain = 0xff; |
5398 | geo_ch->hw_value = ch->channel; | ||
5398 | 5399 | ||
5399 | if (is_channel_valid(ch)) { | 5400 | if (is_channel_valid(ch)) { |
5400 | if (!(ch->flags & EEPROM_CHANNEL_IBSS)) | 5401 | if (!(ch->flags & EEPROM_CHANNEL_IBSS)) |
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 6de969de4c84..933e0d44f69f 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -5815,6 +5815,7 @@ static int iwl4965_init_geos(struct iwl4965_priv *priv) | |||
5815 | geo_ch->center_freq = ieee80211chan2mhz(ch->channel); | 5815 | geo_ch->center_freq = ieee80211chan2mhz(ch->channel); |
5816 | geo_ch->max_power = ch->max_power_avg; | 5816 | geo_ch->max_power = ch->max_power_avg; |
5817 | geo_ch->max_antenna_gain = 0xff; | 5817 | geo_ch->max_antenna_gain = 0xff; |
5818 | geo_ch->hw_value = ch->channel; | ||
5818 | 5819 | ||
5819 | if (is_channel_valid(ch)) { | 5820 | if (is_channel_valid(ch)) { |
5820 | if (!(ch->flags & EEPROM_CHANNEL_IBSS)) | 5821 | if (!(ch->flags & EEPROM_CHANNEL_IBSS)) |