From: Alexander Bondar Date: Sun, 16 Mar 2014 08:49:54 +0000 (+0200) Subject: mac80211: release sched_scan_sdata when stopping sched scan X-Git-Tag: v3.15-rc1~113^2~93^2^2~5^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71228a1eabaf7fa4b2c3060cfee60875254cec14;p=pandora-kernel.git mac80211: release sched_scan_sdata when stopping sched scan Assuming sched_scan_stop operation is synchronous the driver may not necessary call ieee80211_sched_scan_stopped_work. Since this work is the only place where sched_scan_sdata is released we can possibly run into situation when it is never released. Fix this by releasing it just after calling drv_sched_scan_stop. Signed-off-by: Alexander Bondar Signed-off-by: Johannes Berg --- Reading git-diff-tree failed