ath9k_htc: check seq number instead of cmd id for timeout
authorFred Chou <fred.chou.nd@gmail.com>
Fri, 13 Mar 2015 08:32:38 +0000 (16:32 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 7 Apr 2015 17:07:44 +0000 (20:07 +0300)
commit00ca18034f62a6a3f29b8e660198e4ea573f2657
tree8229242bd987d143fe52559ccd4e764db91216ef
parent6dcaac59d08b77d5730f2ae824bca1c0bf8130dc
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>
drivers/net/wireless/ath/ath9k/wmi.c
drivers/net/wireless/ath/ath9k/wmi.h