summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/quantenna/qtnfmac/bus.h
diff options
context:
space:
mode:
authorIgor Mitsyanko <igor.mitsyanko.os@quantenna.com>2018-09-25 01:15:13 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-10-01 18:40:30 +0300
commit86ca238cf1e99794be77d299639d6e2a1dfd67a6 (patch)
treec78b4c37a56a50e38a55eccdefd6925cbdc06aaf /drivers/net/wireless/quantenna/qtnfmac/bus.h
parentaddc7540708f52959c99ed3b9758a09070c102dc (diff)
downloadlinux-86ca238cf1e99794be77d299639d6e2a1dfd67a6.tar.xz
qtnfmac: wait for FW load work to finish at PCIe remove
Waiting for "completion" to be set in FW load thread can not be used in case PCIe remove is called before FW load work was scheduled. Just wait for work completion instead to avoid problems. Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/quantenna/qtnfmac/bus.h')
-rw-r--r--drivers/net/wireless/quantenna/qtnfmac/bus.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/quantenna/qtnfmac/bus.h b/drivers/net/wireless/quantenna/qtnfmac/bus.h
index 7c4f8568d940..528ca7f5e070 100644
--- a/drivers/net/wireless/quantenna/qtnfmac/bus.h
+++ b/drivers/net/wireless/quantenna/qtnfmac/bus.h
@@ -62,7 +62,6 @@ struct qtnf_bus {
struct qtnf_hw_info hw_info;
struct napi_struct mux_napi;
struct net_device mux_dev;
- struct completion firmware_init_complete;
struct workqueue_struct *workqueue;
struct work_struct fw_work;
struct work_struct event_work;