diff options
author | Fred Chou <fred.chou.nd@gmail.com> | 2015-03-13 08:32:38 (GMT) |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-04-07 17:07:44 (GMT) |
commit | 00ca18034f62a6a3f29b8e660198e4ea573f2657 (patch) | |
tree | 8229242bd987d143fe52559ccd4e764db91216ef /drivers/net/wireless/ath/ath9k/wmi.h | |
parent | 6dcaac59d08b77d5730f2ae824bca1c0bf8130dc (diff) | |
download | linux-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.h | 2 |
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; |