cfg80211: send events when devices are added/removed
authorJohannes Berg <johannes.berg@intel.com>
Mon, 26 May 2014 11:52:25 +0000 (13:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 26 May 2014 11:52:25 +0000 (13:52 +0200)
commit3bb20556726702a27166e49ef513bd8d8432d9c4
tree0b67e06ea839378823866d4d35fe46101cdef7f1
parent34171dc0d623be2c1032416bf7d3819f388ed70d
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>
net/wireless/core.c
net/wireless/nl80211.c
net/wireless/nl80211.h