diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2014-12-15 14:25:39 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-12-18 16:38:44 +0300 |
commit | 93a1e86ce10e4898f9ca9cd09d659a8a7780ee5e (patch) | |
tree | 42155b15af02c90d9c824ffbc2d3ad8b6d4a9b34 /net/wireless/core.h | |
parent | 31a60ed1e95ab8afbadb65599bef12b195080a0c (diff) | |
download | linux-93a1e86ce10e4898f9ca9cd09d659a8a7780ee5e.tar.xz |
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>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index e82030c32311..801cd49c5a0c 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -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); |