diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-05-26 13:52:25 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-26 13:52:25 +0200 |
commit | 3bb20556726702a27166e49ef513bd8d8432d9c4 (patch) | |
tree | 0b67e06ea839378823866d4d35fe46101cdef7f1 /net/wireless/nl80211.h | |
parent | 34171dc0d623be2c1032416bf7d3819f388ed70d (diff) | |
download | op-kernel-dev-3bb20556726702a27166e49ef513bd8d8432d9c4.zip op-kernel-dev-3bb20556726702a27166e49ef513bd8d8432d9c4.tar.gz |
cfg80211: send events when devices are added/removed
We're currently sending NEW_WIPHY events for renames (which
is a bit odd, but now can't be changed), but also send them
for really new devices that register.
Also send DEL_WIPHY events when a device is removed, the
event ID for this was already reserved.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.h')
-rw-r--r-- | net/wireless/nl80211.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h index 1e6df96..49c9a48 100644 --- a/net/wireless/nl80211.h +++ b/net/wireless/nl80211.h @@ -5,7 +5,8 @@ int nl80211_init(void); void nl80211_exit(void); -void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev); +void nl80211_notify_wiphy(struct cfg80211_registered_device *rdev, + enum nl80211_commands cmd); void nl80211_send_scan_start(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev); struct sk_buff *nl80211_build_scan_msg(struct cfg80211_registered_device *rdev, |