]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
iwlwifi: Don't IWL_WARN on FW reconfiguration
authorChris Down <chris@chrisdown.name>
Thu, 17 Oct 2019 14:48:41 +0000 (10:48 -0400)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 8 Jun 2020 05:49:35 +0000 (08:49 +0300)
IWL_WARN seems excessive here since this can happen during normal
operation. Every time I connect to a new network with 8086:24fd I get
this as KERN_WARNING on the console, which mildly distracts from other
more pressing messages. For example:

    % sudo journalctl _TRANSPORT=kernel | grep -c 'FW already configured'
    403

Signed-off-by: Chris Down <chris@chrisdown.name>
Cc: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Cc: Luca Coelho <luciano.coelho@intel.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-wireless@vger.kernel.org
Link: https://lore.kernel.org/r/20191017144841.GA16393@chrisdown.name
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c

index 4d3687cc83a4dc71e3b6d4cc959a822d5bb88141..7ea55cfdd8a80724e72b428c1d1cd104159e3a98 100644 (file)
@@ -2554,7 +2554,7 @@ int iwl_fw_start_dbg_conf(struct iwl_fw_runtime *fwrt, u8 conf_id)
                return -EINVAL;
 
        if (fwrt->dump.conf != FW_DBG_INVALID)
-               IWL_WARN(fwrt, "FW already configured (%d) - re-configuring\n",
+               IWL_INFO(fwrt, "FW already configured (%d) - re-configuring\n",
                         fwrt->dump.conf);
 
        /* Send all HCMDs for configuring the FW debug */