From: Johannes Berg Date: Tue, 25 Aug 2009 14:33:47 +0000 (+0200) Subject: mac80211: fix scan cancel on ifdown X-Git-Tag: v2.6.32-rc1~703^2~275^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15db0b7fd872b0312033666d3a82e1214a227ec0;p=pandora-kernel.git mac80211: fix scan cancel on ifdown When an interface is taken down while a scan is pending -- i.e. a scan request was accepted but not yet acted upon due to other work being in progress -- we currently do not properly cancel that scan and end up getting stuck. Fix this by doing better checks when an interface is taken down. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed