summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/wmi.h
diff options
context:
space:
mode:
authorFred Chou <fred.chou.nd@gmail.com>2015-03-13 08:32:38 (GMT)
committerKalle Valo <kvalo@codeaurora.org>2015-04-07 17:07:44 (GMT)
commit00ca18034f62a6a3f29b8e660198e4ea573f2657 (patch)
tree8229242bd987d143fe52559ccd4e764db91216ef /drivers/net/wireless/ath/ath9k/wmi.h
parent6dcaac59d08b77d5730f2ae824bca1c0bf8130dc (diff)
downloadlinux-00ca18034f62a6a3f29b8e660198e4ea573f2657.tar.xz
ath9k_htc: check seq number instead of cmd id for timeout
As the driver may send multiple wmi commands with identical cmd id, it is more robust to check seq number for timeout instead. Signed-off-by: Fred Chou <fred.chou.nd@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/wmi.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/wmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/wmi.h b/drivers/net/wireless/ath/ath9k/wmi.h
index aa84a33..380175d 100644
--- a/drivers/net/wireless/ath/ath9k/wmi.h
+++ b/drivers/net/wireless/ath/ath9k/wmi.h
@@ -151,7 +151,7 @@ struct wmi {
enum htc_endpoint_id ctrl_epid;
struct mutex op_mutex;
struct completion cmd_wait;
- enum wmi_cmd_id last_cmd_id;
+ u16 last_seq_id;
struct sk_buff_head wmi_event_queue;
struct tasklet_struct wmi_event_tasklet;
u16 tx_seq_id;