nl80211: Stop scheduled scan if netlink client disappears
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Mon, 15 Dec 2014 11:25:39 +0000 (13:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 18 Dec 2014 13:38:44 +0000 (14:38 +0100)
commit93a1e86ce10e4898f9ca9cd09d659a8a7780ee5e
tree42155b15af02c90d9c824ffbc2d3ad8b6d4a9b34
parent31a60ed1e95ab8afbadb65599bef12b195080a0c
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>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/core.c
net/wireless/core.h
net/wireless/nl80211.c