commit | d8f996f6ff7e6eab4c7b96e908ba789533595e7d | [log] [tgz] |
---|---|---|
author | Sujith <Sujith.Manoharan@atheros.com> | Fri Apr 23 10:28:20 2010 +0530 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Apr 26 14:21:22 2010 -0400 |
tree | 4efb0581691096ff55c9c2bd1d19950ca79677b8 | |
parent | 0d36d71da2a3e5b28b4e7743c0041515cca798ef [diff] |
ath9k_htc: Really fix device hotunplug 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>