aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
diff options
context:
space:
mode:
authorSara Sharon <sara.sharon@intel.com>2018-06-11 04:43:09 -0400
committerLuca Coelho <luciano.coelho@intel.com>2018-10-06 03:25:42 -0400
commit17b809c9b22e34e17b1de6ff7c913127b7a249db (patch)
tree2467caa55d942eb15760133d570ebc8ce7280181 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c
parent2e1976bb75263fbad918e82184b16a23bd721546 (diff)
iwlwifi: dbg: move debug data to a struct
The debug variables are bloating the iwl_fw struct. And the fields are out of order, missing docs and some are redundant. Clean this up. This serves as preparation for unionizing it for the new ini infra. 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/mvm/ops.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/ops.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
index 0599d323cbeb..5f2f599a7ccd 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
@@ -748,12 +748,12 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg,
748 iwl_trans_configure(mvm->trans, &trans_cfg); 748 iwl_trans_configure(mvm->trans, &trans_cfg);
749 749
750 trans->rx_mpdu_cmd = REPLY_RX_MPDU_CMD; 750 trans->rx_mpdu_cmd = REPLY_RX_MPDU_CMD;
751 trans->dbg_dest_tlv = mvm->fw->dbg_dest_tlv; 751 trans->dbg_dest_tlv = mvm->fw->dbg.dest_tlv;
752 trans->dbg_dest_reg_num = mvm->fw->dbg_dest_reg_num; 752 trans->dbg_n_dest_reg = mvm->fw->dbg.n_dest_reg;
753 memcpy(trans->dbg_conf_tlv, mvm->fw->dbg_conf_tlv, 753 memcpy(trans->dbg_conf_tlv, mvm->fw->dbg.conf_tlv,
754 sizeof(trans->dbg_conf_tlv)); 754 sizeof(trans->dbg_conf_tlv));
755 trans->dbg_trigger_tlv = mvm->fw->dbg_trigger_tlv; 755 trans->dbg_trigger_tlv = mvm->fw->dbg.trigger_tlv;
756 trans->dbg_dump_mask = mvm->fw->dbg_dump_mask; 756 trans->dbg_dump_mask = mvm->fw->dbg.dump_mask;
757 757
758 trans->iml = mvm->fw->iml; 758 trans->iml = mvm->fw->iml;
759 trans->iml_len = mvm->fw->iml_len; 759 trans->iml_len = mvm->fw->iml_len;