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 f10170f..4a9dc96 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;
        }