iwlwifi: nvm: don't print NVM section reads by default
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 May 2013 12:38:25 +0000 (14:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 16 May 2013 21:15:07 +0000 (23:15 +0200)
These messages aren't really useful, suppress them unless
EEPROM debugging is turned on.

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

index c6c15f21065f3e64120dc96235c14fbc33a65daa..ce464a5cca29cf4ca33ad1350bc614e62b4857ea 100644 (file)
@@ -177,7 +177,8 @@ static int iwl_nvm_read_section(struct iwl_mvm *mvm, u16 section,
                offset += ret;
        }
 
-       IWL_INFO(mvm, "NVM section %d read completed\n", section);
+       IWL_DEBUG_EEPROM(mvm->trans->dev,
+                        "NVM section %d read completed\n", section);
        return offset;
 }