iwlwifi: remove SKU/antenna messages by default
authorJohannes Berg <johannes.berg@intel.com>
Mon, 5 Nov 2012 18:48:33 +0000 (19:48 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 7 Nov 2012 10:20:18 +0000 (11:20 +0100)
There's no reason to print these all the time,
the messages aren't all that interesting. Leave
them as DEBUG_INFO though, just in case.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/main.c

index bcaec84974d0ea3349a3fb1b9ef7dabd265ea284..03cbfa765f87b987ec2b435ae4a3a3516c795f74 100644 (file)
@@ -1204,7 +1204,7 @@ static int iwl_eeprom_init_hw_params(struct iwl_priv *priv)
                return -EINVAL;
        }
 
-       IWL_INFO(priv, "Device SKU: 0x%X\n", priv->eeprom_data->sku);
+       IWL_DEBUG_INFO(priv, "Device SKU: 0x%X\n", priv->eeprom_data->sku);
 
        priv->hw_params.tx_chains_num =
                num_of_ant(priv->eeprom_data->valid_tx_ant);
@@ -1214,9 +1214,9 @@ static int iwl_eeprom_init_hw_params(struct iwl_priv *priv)
                priv->hw_params.rx_chains_num =
                        num_of_ant(priv->eeprom_data->valid_rx_ant);
 
-       IWL_INFO(priv, "Valid Tx ant: 0x%X, Valid Rx ant: 0x%X\n",
-                priv->eeprom_data->valid_tx_ant,
-                priv->eeprom_data->valid_rx_ant);
+       IWL_DEBUG_INFO(priv, "Valid Tx ant: 0x%X, Valid Rx ant: 0x%X\n",
+                      priv->eeprom_data->valid_tx_ant,
+                      priv->eeprom_data->valid_rx_ant);
 
        return 0;
 }