cfg80211: Add nl80211 event for deletion of a station entry
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 23 Mar 2011 13:29:52 +0000 (15:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Mar 2011 18:15:18 +0000 (14:15 -0400)
commitec15e68ba6a505631016f230899bafbb7b8cd0d6
tree21190a10af3c22ccd34b03f11088b5976ef3e34b
parentcfdc9a8bb8d90c6aa212a5a881862599673c443d
cfg80211: Add nl80211 event for deletion of a station entry

Indicate an NL80211_CMD_DEL_STATION event when a station entry in
mac80211 is deleted to match with the NL80211_CMD_NEW_STATION event
that is used when the entry was added. This is needed, e.g., to allow
user space to remove a peer from RSN IBSS Authenticator state machine
to avoid re-authentication and re-keying delays when the peer is not
reachable anymore.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/mac80211/sta_info.c
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/nl80211.h