From: Barak Bercovitz Date: Thu, 5 Dec 2013 09:21:26 +0000 (+0200) Subject: cfg80211: stop sched scan only when needed X-Git-Tag: v3.14-rc1~94^2~334^2^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24d584d70e478bf2e815135e8bf60f72685046f7;p=pandora-kernel.git cfg80211: stop sched scan only when needed cfg80211_leave stops sched scan when any station vif is leaving. Add an explicit check and call it only when the relevant vif (the one we scan on) is leaving. Signed-off-by: Barak Bercovitz [Eliad - changed the commit message a bit] Signed-off-by: Eliad Peller [Johannes - add ASSERT_RTNL since that protects the pointer] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed