From: Johannes Berg Date: Wed, 15 May 2013 12:38:25 +0000 (+0200) Subject: iwlwifi: nvm: don't print NVM section reads by default X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=07fd7d284dd01b46dea1986cb3bff20dfffe09bd;p=openwrt%2Fstaging%2Fblogic.git iwlwifi: nvm: don't print NVM section reads by default These messages aren't really useful, suppress them unless EEPROM debugging is turned on. Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- diff --git a/drivers/net/wireless/iwlwifi/mvm/nvm.c b/drivers/net/wireless/iwlwifi/mvm/nvm.c index c6c15f21065f..ce464a5cca29 100644 --- a/drivers/net/wireless/iwlwifi/mvm/nvm.c +++ b/drivers/net/wireless/iwlwifi/mvm/nvm.c @@ -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; }