ath10k: wait for vdev delete response from firmware
authorRakesh Pillai <pillair@codeaurora.org>
Mon, 3 Jun 2019 14:41:33 +0000 (17:41 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 13:04:14 +0000 (16:04 +0300)
commitfe36e70f766ed99c5a140f8e265e81dd39897bb6
tree985654a2aaa2888b9016f245aff67b4fbb2d8f9f
parent011d4111c8c602ea829fa4917af1818eb0500a90
ath10k: wait for vdev delete response from firmware

When we add an interface immediately after removing
the interface the vdev deletion in firmware might not
have been completed. We need to synchronize the vdev creation
with the firmware.

Wait for vdev delete response from firmware when we
remove an interface.

Tested HW: WCN3990
Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1

Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi-tlv.c
drivers/net/wireless/ath/ath10k/wmi-tlv.h
drivers/net/wireless/ath/ath10k/wmi.h