]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite2e001289a8acb8c835fba6410ad27ee62f95046
tree42155b15af02c90d9c824ffbc2d3ad8b6d4a9b34
parentadd93dde03ac79e7bda2f248a6c41457d55d1fa1
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