Skip to content
Commit 24d584d7 authored by Barak Bercovitz's avatar Barak Bercovitz Committed by Johannes Berg
Browse files

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: default avatarBarak Bercovitz <barak@wizery.com>
[Eliad - changed the commit message a bit]
Signed-off-by: default avatarEliad Peller <eliad@wizery.com>
[Johannes - add ASSERT_RTNL since that protects the pointer]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent d1e33e65
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment