From: John W. Linville Date: Mon, 30 Aug 2010 19:12:02 +0000 (-0400) Subject: mac80211: cancel scan in ieee80211_restart_hw if software scan pending X-Git-Tag: v2.6.37-rc1~147^2~584^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18145c69349f2ab60c470798f83b3a2639e2a8d9;p=pandora-kernel.git mac80211: cancel scan in ieee80211_restart_hw if software scan pending This function exists to clean-up after a hardware error or something similar. The restart is accomplished using the same infrastructure used to resume after a suspend. The suspend path cancels running scans, so it seems appropriate to do that here as well for software-based scans. If a hardware-based scan is pending, issue a warning message since this indicates that the drivers has failed to clean-up after itself. Signed-off-by: John W. Linville --- Reading git-diff-tree failed