iwlwifi: dbg_ini: use function to check if ini dbg mode is on
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Sun, 30 Jun 2019 06:31:22 +0000 (09:31 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:20 +0000 (15:31 +0300)
commita1af4c486ae7901480afc0f140f4ce91f0c389cd
tree1feab5b14ec5182de2b5b2100091aa3229e6f92e
parent4a7bd3cf83fdddb2e2e902680e4d253fac21f279
iwlwifi: dbg_ini: use function to check if ini dbg mode is on

use iwl_trans_dbg_ini_valid function instead of a boolean value check if
dbg_ini mode is on. It is needed for a future patch.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/fw/dbg.h
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/trans.c