ath9k_htc: Really fix device hotunplug
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 23 Apr 2010 04:58:20 +0000 (10:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Apr 2010 18:21:22 +0000 (14:21 -0400)
All commands to the target are disabled when the device
is unplugged, but a normal module unload has to be
differentiated from this case, as we could still receive
data in the RX endpoint. Fix this by checking if the
device is attached or not.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found