From: Sujith Manoharan Date: Mon, 20 Dec 2010 02:32:42 +0000 (+0530) Subject: ath9k_htc: Fix warning on device removal X-Git-Tag: v2.6.38-rc1~476^2~14^2~3^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97dcec5715a381362c88d1542e52c63147764d3c;p=pandora-kernel.git ath9k_htc: Fix warning on device removal The commit "ath9k_hw: warn if we cannot change the power to the chip" introduced a new warning to indicate chip powerup failures, but this is not required for devices that have been removed. Handle USB device removal properly by checking for unplugged status. For PCI devices, this warning will still be seen when the card is pulled out, not sure how to check for card removal. Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville --- Reading git-diff-tree failed