aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/debugfs.c')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/debugfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/debugfs.c b/drivers/net/wireless/iwlwifi/mvm/debugfs.c
index 82c09d86af8c..8cbe77dc1dbb 100644
--- a/drivers/net/wireless/iwlwifi/mvm/debugfs.c
+++ b/drivers/net/wireless/iwlwifi/mvm/debugfs.c
@@ -942,7 +942,7 @@ static ssize_t iwl_dbgfs_fw_dbg_conf_read(struct file *file,
942 size_t count, loff_t *ppos) 942 size_t count, loff_t *ppos)
943{ 943{
944 struct iwl_mvm *mvm = file->private_data; 944 struct iwl_mvm *mvm = file->private_data;
945 enum iwl_fw_dbg_conf conf; 945 int conf;
946 char buf[8]; 946 char buf[8];
947 const size_t bufsz = sizeof(buf); 947 const size_t bufsz = sizeof(buf);
948 int pos = 0; 948 int pos = 0;
@@ -966,7 +966,7 @@ static ssize_t iwl_dbgfs_fw_dbg_conf_write(struct iwl_mvm *mvm,
966 if (ret) 966 if (ret)
967 return ret; 967 return ret;
968 968
969 if (WARN_ON(conf_id >= FW_DBG_MAX)) 969 if (WARN_ON(conf_id >= FW_DBG_CONF_MAX))
970 return -EINVAL; 970 return -EINVAL;
971 971
972 mutex_lock(&mvm->mutex); 972 mutex_lock(&mvm->mutex);
@@ -985,7 +985,7 @@ static ssize_t iwl_dbgfs_fw_dbg_collect_write(struct iwl_mvm *mvm,
985 if (ret) 985 if (ret)
986 return ret; 986 return ret;
987 987
988 iwl_mvm_fw_dbg_collect(mvm); 988 iwl_mvm_fw_dbg_collect(mvm, FW_DBG_TRIGGER_USER, NULL, 0, 0);
989 989
990 iwl_mvm_unref(mvm, IWL_MVM_REF_PRPH_WRITE); 990 iwl_mvm_unref(mvm, IWL_MVM_REF_PRPH_WRITE);
991 991