]> asedeno.scripts.mit.edu Git - linux.git/commit
ath10k: fix vdev-start timeout on error
authorBen Greear <greearb@candelatech.com>
Thu, 6 Sep 2018 16:46:20 +0000 (19:46 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 1 Oct 2018 13:30:04 +0000 (16:30 +0300)
commit833fd34d743c728afe6d127ef7bee67e7d9199a8
treeee2879f5b51c0dc1d649bf457fa65a11b4fcdfb0
parent37f62c0d5822f631b786b29a1b1069ab714d1a28
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>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h