diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 5a72bc0377de..bb9617092c4e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -902,7 +902,6 @@ static s32 iwl4965_get_tx_atten_grp(u16 channel) | |||
902 | channel <= CALIB_IWL_TX_ATTEN_GR4_LCH) | 902 | channel <= CALIB_IWL_TX_ATTEN_GR4_LCH) |
903 | return CALIB_CH_GROUP_4; | 903 | return CALIB_CH_GROUP_4; |
904 | 904 | ||
905 | IWL_ERROR("Can't find txatten group for channel %d.\n", channel); | ||
906 | return -1; | 905 | return -1; |
907 | } | 906 | } |
908 | 907 | ||
@@ -1319,8 +1318,11 @@ static int iwl4965_fill_txpower_tbl(struct iwl_priv *priv, u8 band, u16 channel, | |||
1319 | /* get txatten group, used to select 1) thermal txpower adjustment | 1318 | /* get txatten group, used to select 1) thermal txpower adjustment |
1320 | * and 2) mimo txpower balance between Tx chains. */ | 1319 | * and 2) mimo txpower balance between Tx chains. */ |
1321 | txatten_grp = iwl4965_get_tx_atten_grp(channel); | 1320 | txatten_grp = iwl4965_get_tx_atten_grp(channel); |
1322 | if (txatten_grp < 0) | 1321 | if (txatten_grp < 0) { |
1322 | IWL_ERROR("Can't find txatten group for channel %d.\n", | ||
1323 | channel); | ||
1323 | return -EINVAL; | 1324 | return -EINVAL; |
1325 | } | ||
1324 | 1326 | ||
1325 | IWL_DEBUG_TXPOWER("channel %d belongs to txatten group %d\n", | 1327 | IWL_DEBUG_TXPOWER("channel %d belongs to txatten group %d\n", |
1326 | channel, txatten_grp); | 1328 | channel, txatten_grp); |