summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath11k/core.h
diff options
context:
space:
mode:
authorRitesh Singh <ritesi@codeaurora.org>2020-11-24 17:59:14 +0200
committerKalle Valo <kvalo@codeaurora.org>2020-11-24 18:04:34 +0200
commit690ace20ff790f443c3cbaf12e1769e4eb0072db (patch)
tree02d8cf904e98778b0650f2bd22e16ecc55d35d45 /drivers/net/wireless/ath/ath11k/core.h
parent3cbbdfbed1408ba55e2deeaf913c0e735086589b (diff)
ath11k: peer delete synchronization with firmware
Peer creation in firmware fails, if last peer deletion is still in progress. Hence, add wait for the event after deleting every peer from host driver to synchronize with firmware. Signed-off-by: Ritesh Singh <ritesi@codeaurora.org> Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/1605514143-17652-3-git-send-email-mkenna@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/core.h')
-rw-r--r--drivers/net/wireless/ath/ath11k/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/core.h b/drivers/net/wireless/ath/ath11k/core.h
index b1b8afecec3a..88e5a9b9f52d 100644
--- a/drivers/net/wireless/ath/ath11k/core.h
+++ b/drivers/net/wireless/ath/ath11k/core.h
@@ -506,6 +506,7 @@ struct ath11k {
u8 lmac_id;
struct completion peer_assoc_done;
+ struct completion peer_delete_done;
int install_key_status;
struct completion install_key_done;