]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1bcc042c14567289b19bd1b23b6e6a10eb894226
tree8229242bd987d143fe52559ccd4e764db91216ef
parentce3a031564f53741afe41eeb276f25757143e783
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