aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/generic.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2016-08-03 16:58:33 -0500
committerJohannes Berg <johannes.berg@intel.com>2016-08-11 16:51:41 +0200
commit896ff0635a312022c91e2bef30c80abc27af62e8 (patch)
treeaa28f1eb1bbb97da2ef565117e79f8d51087cc56 /fs/proc/generic.c
parentmac80211: remove skb header offset mangling in ieee80211_build_hdr (diff)
downloadlinux-rng-896ff0635a312022c91e2bef30c80abc27af62e8.tar.xz
linux-rng-896ff0635a312022c91e2bef30c80abc27af62e8.zip
cfg80211: always notify userspace of new wireless netdevs
This change alters the semantics of NL80211_CMD_NEW_INTERFACE events by always sending this event whenever a new net_device object associated with a wdev is registered. Prior to this change, this event was only sent as a result of NL80211_CMD_NEW_INTERFACE command sent from userspace. This allows userspace to reliably detect new wireless interfaces (e.g. due to hardware hot-plug events, etc). For wdevs created without an associated net_device object (e.g. NL80211_IFTYPE_P2P_DEVICE), the NL80211_CMD_NEW_INTERFACE event is still generated inside the relevant nl80211 command handler. Signed-off-by: Denis Kenzior <denkenz@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'fs/proc/generic.c')
0 files changed, 0 insertions, 0 deletions