diff options
author | Dedy Lansky <qca_dlansky@qca.qualcomm.com> | 2014-09-10 09:34:46 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-11 15:27:38 -0400 |
commit | 595026472eb74e4b57f5389af8b7c588659df243 (patch) | |
tree | fde0a0e9ea7bc0f753a6e3926348ffd525f95a6c /drivers/net/wireless/ath/wil6210/wil6210.h | |
parent | e0106adade2dd16fb776f53f25ffe50da0793f3d (diff) |
wil6210: introduce separate completion for WMI
re-use of wmi_ready for both FW ready event and for wmi_call was causing
false "FW not ready" indication in case wmi_call() was invoked while reset
took place.
add wmi_call completion variable instead of re-using wmi_ready.
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/wil6210.h')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/wil6210.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wil6210/wil6210.h b/drivers/net/wireless/ath/wil6210/wil6210.h index 1b119343c6cf..f8f99881382d 100644 --- a/drivers/net/wireless/ath/wil6210/wil6210.h +++ b/drivers/net/wireless/ath/wil6210/wil6210.h | |||
@@ -399,6 +399,7 @@ struct wil6210_priv { | |||
399 | struct mutex wmi_mutex; | 399 | struct mutex wmi_mutex; |
400 | struct wil6210_mbox_ctl mbox_ctl; | 400 | struct wil6210_mbox_ctl mbox_ctl; |
401 | struct completion wmi_ready; | 401 | struct completion wmi_ready; |
402 | struct completion wmi_call; | ||
402 | u16 wmi_seq; | 403 | u16 wmi_seq; |
403 | u16 reply_id; /**< wait for this WMI event */ | 404 | u16 reply_id; /**< wait for this WMI event */ |
404 | void *reply_buf; | 405 | void *reply_buf; |