commit | 24d584d70e478bf2e815135e8bf60f72685046f7 | [log] [tgz] |
---|---|---|
author | Barak Bercovitz <barak@wizery.com> | Thu Dec 05 11:21:26 2013 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Dec 05 17:15:38 2013 +0100 |
tree | 211e09aaa79c1a3d3fc99e4e3dace0b5a0765e7f | |
parent | d1e33e654ef6bb3dee766353ed9dd31e7dcb8a94 [diff] |
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 <barak@wizery.com> [Eliad - changed the commit message a bit] Signed-off-by: Eliad Peller <eliad@wizery.com> [Johannes - add ASSERT_RTNL since that protects the pointer] Signed-off-by: Johannes Berg <johannes.berg@intel.com>