From: Eliad Peller Date: Sun, 29 Jul 2012 13:25:10 +0000 (+0300) Subject: mac80211: don't clear sched_scan_sdata on sched scan stop request X-Git-Tag: v3.6-rc2~24^2~30^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba846a502c6b3c0ff047861c891fd1afeed6e435;p=pandora-kernel.git mac80211: don't clear sched_scan_sdata on sched scan stop request ieee80211_request_sched_scan_stop() cleared local->sched_scan_sdata. However, sched_scan_sdata should be cleared only after the driver calls ieee80211_sched_scan_stopped() (like with normal hw scan). Clearing sched_scan_sdata too early caused ieee80211_sched_scan_stopped_work to exit prematurely without properly cleaning all the sched scan resources and without calling cfg80211_sched_scan_stopped (so userspace wasn't notified about sched scan completion). Signed-off-by: Eliad Peller Signed-off-by: Johannes Berg --- Reading git-diff-tree failed