iwlwifi: dbg: disable ini debug in 8000 family and below
authorMukesh Sisodiya <mukesh.sisodiya@intel.com>
Sat, 4 Dec 2021 15:49:38 +0000 (17:49 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 7 Dec 2021 18:06:48 +0000 (20:06 +0200)
Yoyo based debug is not applicable for 8000 and below old devices.
The check added in code has 9000 and below familiy which is corrected.

Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211204174546.b6176a5bc198.Ib8e4b1e60e0b6c1538cc4f384dcf681b3db097ce@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c

index 49526fd..a8ebc26 100644 (file)
@@ -473,7 +473,7 @@ void iwl_dbg_tlv_load_bin(struct device *dev, struct iwl_trans *trans)
        int res;
 
        if (!iwlwifi_mod_params.enable_ini ||
-           trans->trans_cfg->device_family <= IWL_DEVICE_FAMILY_9000)
+           trans->trans_cfg->device_family <= IWL_DEVICE_FAMILY_8000)
                return;
 
        res = firmware_request_nowarn(&fw, yoyo_bin, dev);