nl80211: Stop scheduled scan if netlink client disappears
An attribute NL80211_ATTR_SOCKET_OWNER can be set by the scan initiator. If present, the attribute will cause the scan to be stopped if the client dies. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
31a60ed1e9
commit
93a1e86ce1
@@ -91,6 +91,8 @@ struct cfg80211_registered_device {
|
||||
struct list_head destroy_list;
|
||||
struct work_struct destroy_work;
|
||||
|
||||
struct work_struct sched_scan_stop_wk;
|
||||
|
||||
/* must be last because of the way we do wiphy_priv(),
|
||||
* and it should at least be aligned to NETDEV_ALIGN */
|
||||
struct wiphy wiphy __aligned(NETDEV_ALIGN);
|
||||
|
Reference in New Issue
Block a user