]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: Emit a SET_INTERFACE on iftype change
authorAndrew Zaborowski <andrew.zaborowski@intel.com>
Fri, 19 Oct 2018 21:19:06 +0000 (23:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 Nov 2018 10:22:10 +0000 (11:22 +0100)
commitf902af816a5868df399ec978c77f9ace6fdf98da
treefb585f65aa23f156a68e4f87d0b3e475054e016c
parenta7c901360c4ce20fbf568c80da1b784117cbbdc7
nl80211: Emit a SET_INTERFACE on iftype change

Let userspace learn about iftype changes by sending a notification
when handling the NL80211_CMD_SET_INTERFACE command.  There seems
to be no other place where the iftype can change: nl80211_set_interface
is the only caller of cfg80211_change_iface which is the only caller of
ops->change_virtual_intf.

Signed-off-by: Andrew Zaborowski <andrew.zaborowski@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c