iwlwifi: remove EEPROM version message by default
authorJohannes Berg <johannes.berg@intel.com>
Mon, 5 Nov 2012 18:50:26 +0000 (19:50 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 7 Nov 2012 10:20:04 +0000 (11:20 +0100)
If the EEPROM reading was successful, don't print
a message by default, the EEPROM version isn't all
that interesting. Change the message to DEBUG_INFO
priority so it can still be obtained.

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

index f10170fe879922b6f56a8d2a6b287d11af92421e..4a9dc9629efe7f4a92ef5847d8583b537a9fe436 100644 (file)
@@ -889,8 +889,8 @@ int iwl_eeprom_check_version(struct iwl_eeprom_data *data,
 {
        if (data->eeprom_version >= trans->cfg->eeprom_ver ||
            data->calib_version >= trans->cfg->eeprom_calib_ver) {
-               IWL_INFO(trans, "device EEPROM VER=0x%x, CALIB=0x%x\n",
-                        data->eeprom_version, data->calib_version);
+               IWL_DEBUG_INFO(trans, "device EEPROM VER=0x%x, CALIB=0x%x\n",
+                              data->eeprom_version, data->calib_version);
                return 0;
        }