]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_htc: Handle device unplug properly
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 23 Apr 2010 04:58:10 +0000 (10:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Apr 2010 18:21:16 +0000 (14:21 -0400)
commitc04feddff53fb18f431e383f0c33092a2b102cda
treefe3fcbd6ab1a6a4d4b4b9b89f071224ac351fe6e
parent765b5b19e282edf279fc4f4545d716b9b79d2ed0
ath9k_htc: Handle device unplug properly

When the USB device has been unplugged, there is
no point in trying to send commands to the target.
Fix this by denying all WMI commands in such a case.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc.h
drivers/net/wireless/ath/ath9k/htc_drv_init.c
drivers/net/wireless/ath/ath9k/wmi.c