diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2017-12-22 15:38:43 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2017-12-27 12:20:15 +0200 |
commit | f25b9f285a0eff7ae5d987acfb1d2407769b67af (patch) | |
tree | 99e62284a305dbb48145a1b020d835a4bc53677c /drivers/net/wireless/ath/ath10k/core.c | |
parent | d333bdd9b0653b525494cd7f9f9d3b9350e4bbd3 (diff) | |
download | blackbird-op-linux-f25b9f285a0eff7ae5d987acfb1d2407769b67af.tar.gz blackbird-op-linux-f25b9f285a0eff7ae5d987acfb1d2407769b67af.zip |
ath10k: refactor firmware crashdump code to coredump.c
In preparation to add RAM dump support. No functional changes, only moving code
and renaming function names.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/core.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index e5e78a4cacde..fe47516999f6 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -32,6 +32,7 @@ #include "htt.h" #include "testmode.h" #include "wmi-ops.h" +#include "coredump.h" unsigned int ath10k_debug_mask; static unsigned int ath10k_cryptmode_param; @@ -1864,7 +1865,7 @@ static void ath10k_core_restart(struct work_struct *work) mutex_unlock(&ar->conf_mutex); - ret = ath10k_debug_fw_devcoredump(ar); + ret = ath10k_coredump_submit(ar); if (ret) ath10k_warn(ar, "failed to send firmware crash dump via devcoredump: %d", ret); |