Skip to content
Commit 753aacfd authored by Johannes Berg's avatar Johannes Berg
Browse files

nl80211: fix sched scan netlink socket owner destruction

A single netlink socket might own multiple interfaces *and* a
scheduled scan request (which might belong to another interface),
so when it goes away both may need to be destroyed.

Remove the schedule_scan_stop indirection to fix this - it's only
needed for interface destruction because of the way this works
right now, with a single work taking care of all interfaces.

Cc: stable@vger.kernel.org
Fixes: 93a1e86c

 ("nl80211: Stop scheduled scan if netlink client disappears")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 35f432a0
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