diff options
author | Sara Sharon <sara.sharon@intel.com> | 2018-06-13 15:24:13 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2018-12-14 13:04:44 +0200 |
commit | 7a14c23dcdee68782acb90be29590ad683c3aeb4 (patch) | |
tree | 609d2cf9fca16d80f9b3fb3bdc64b584dc179d90 /drivers/net/wireless/intel/iwlwifi/fw/dbg.h | |
parent | 09b0b99007ff4e250a479de731d897bea34f0b4e (diff) | |
download | linux-7a14c23dcdee68782acb90be29590ad683c3aeb4.tar.bz2 |
iwlwifi: dbg: dump data according to the new ini TLVs
When ini TLVs are loaded, dump data according to the
stored configuration.
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/dbg.h')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/fw/dbg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/dbg.h b/drivers/net/wireless/intel/iwlwifi/fw/dbg.h index ab81ea8b636f..324ee063224d 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/dbg.h +++ b/drivers/net/wireless/intel/iwlwifi/fw/dbg.h @@ -329,7 +329,7 @@ void iwl_fw_error_dump_wk(struct work_struct *work); static inline bool iwl_fw_dbg_type_on(struct iwl_fw_runtime *fwrt, u32 type) { - return (fwrt->fw->dbg.dump_mask & BIT(type)); + return (fwrt->fw->dbg.dump_mask & BIT(type) || fwrt->trans->ini_valid); } static inline bool iwl_fw_dbg_is_d3_debug_enabled(struct iwl_fw_runtime *fwrt) |