From: Sujith Date: Fri, 23 Apr 2010 04:58:20 +0000 (+0530) Subject: ath9k_htc: Really fix device hotunplug X-Git-Tag: v2.6.35-rc1~473^2~167^2~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8f996f6ff7e6eab4c7b96e908ba789533595e7d;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed