summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/core.h
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2018-09-06 19:46:20 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-10-01 16:30:04 +0300
commit833fd34d743c728afe6d127ef7bee67e7d9199a8 (patch)
treeee2879f5b51c0dc1d649bf457fa65a11b4fcdfb0 /drivers/net/wireless/ath/ath10k/core.h
parent37f62c0d5822f631b786b29a1b1069ab714d1a28 (diff)
ath10k: fix vdev-start timeout on error
The vdev-start-response message should cause the completion to fire, even in the error case. Otherwise, the user still gets no useful information and everything is blocked until the timeout period. Add some warning text to print out the invalid status code to aid debugging, and propagate failure code. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/core.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h
index f6e5c29f74e7..7328df1bf39f 100644
--- a/drivers/net/wireless/ath/ath10k/core.h
+++ b/drivers/net/wireless/ath/ath10k/core.h
@@ -1043,6 +1043,7 @@ struct ath10k {
struct completion install_key_done;
+ int last_wmi_vdev_start_status;
struct completion vdev_setup_done;
struct workqueue_struct *workqueue;