Browse Source

iwlwifi: correct log level when error occurs

user needs to see this message even if debugging disabled

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Reinette Chatre 16 years ago
parent
commit
808ff697b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/wireless/iwlwifi/iwl-agn.c

+ 1 - 1
drivers/net/wireless/iwlwifi/iwl-agn.c

@@ -3359,7 +3359,7 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 	/* amp init */
 	/* amp init */
 	err = priv->cfg->ops->lib->apm_ops.init(priv);
 	err = priv->cfg->ops->lib->apm_ops.init(priv);
 	if (err < 0) {
 	if (err < 0) {
-		IWL_DEBUG_INFO(priv, "Failed to init APMG\n");
+		IWL_ERR(priv, "Failed to init APMG\n");
 		goto out_iounmap;
 		goto out_iounmap;
 	}
 	}
 	/*****************
 	/*****************