]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 28 Nov 2019 04:59:27 +0000 (23:59 -0500)
commitc23af6dc2607b632b225c576b299b72131360f69
tree14e6e6f9c4b001444c23804cc45a15d770b0ab6a
parent41dceac5be73e5bb96e4a75c0ba1d86c9fd716d1
ath10k: fix vdev-start timeout on error

BugLink: https://bugs.launchpad.net/bugs/1854216
[ Upstream commit 833fd34d743c728afe6d127ef7bee67e7d9199a8 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
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