diff options
| author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2014-12-15 06:25:39 -0500 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2014-12-18 08:38:44 -0500 |
| commit | 93a1e86ce10e4898f9ca9cd09d659a8a7780ee5e (patch) | |
| tree | 42155b15af02c90d9c824ffbc2d3ad8b6d4a9b34 /net/wireless/core.h | |
| parent | 31a60ed1e95ab8afbadb65599bef12b195080a0c (diff) | |
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 { | |||
| 91 | struct list_head destroy_list; | 91 | struct list_head destroy_list; |
| 92 | struct work_struct destroy_work; | 92 | struct work_struct destroy_work; |
| 93 | 93 | ||
| 94 | struct work_struct sched_scan_stop_wk; | ||
| 95 | |||
| 94 | /* must be last because of the way we do wiphy_priv(), | 96 | /* must be last because of the way we do wiphy_priv(), |
| 95 | * and it should at least be aligned to NETDEV_ALIGN */ | 97 | * and it should at least be aligned to NETDEV_ALIGN */ |
| 96 | struct wiphy wiphy __aligned(NETDEV_ALIGN); | 98 | struct wiphy wiphy __aligned(NETDEV_ALIGN); |
