diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-01-05 12:57:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-19 22:18:00 +0300 |
commit | 0a28f5393689576a7667a7ef42cb79eafe16b019 (patch) | |
tree | 7f66c2f16cbcb6e14766ca8d913dfd15655a183c /drivers/gpio | |
parent | 14d6c966744debbafd2f2815e052f2fed1dd154b (diff) | |
download | linux-0a28f5393689576a7667a7ef42cb79eafe16b019.tar.xz |
nl80211: fix sched scan netlink socket owner destruction
commit 753aacfd2e95df6a0caf23c03dc309020765bea9 upstream.
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.
Fixes: 93a1e86ce10e4 ("nl80211: Stop scheduled scan if netlink client disappears")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions