iwlwifi: correct log level when error occurs
authorReinette Chatre <reinette.chatre@intel.com>
Wed, 11 Mar 2009 18:18:01 +0000 (11:18 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:47 +0000 (18:09 -0400)
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>
drivers/net/wireless/iwlwifi/iwl-agn.c

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