From: Johannes Berg Date: Sat, 31 Oct 2009 06:44:08 +0000 (+0100) Subject: mac80211: fix scan abort sanity checks X-Git-Tag: v2.6.33-rc1~388^2~449^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d3560d4fc9c5b9fe1a07a63926ea70512c69c32;p=pandora-kernel.git mac80211: fix scan abort sanity checks Since sometimes mac80211 queues up a scan request to only act on it later, it must be allowed to (internally) cancel a not-yet-running scan, e.g. when the interface is taken down. This condition was missing since we always checked only the local->scanning variable which isn't yet set in that situation. Reported-by: Luis R. Rodriguez Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed