nl80211: Generate deauth/disassoc event for locally generated frames
commit53b46b8444f600cc1744521ea096ea0c5d494dd0
authorJouni Malinen <j@w1.fi>
Fri, 27 Mar 2009 18:53:56 +0000 (27 20:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:28 +0000 (22 16:54 -0400)
tree2f9d3a465a55be2992a8f895c1d09f4cdff3c060
parent1778092e1739155acec35a3bccee2fb8a1ae4e91
nl80211: Generate deauth/disassoc event for locally generated frames

Previously, nl80211 mlme events were generated only for received
deauthentication and disassociation frames. We need to do the same for
locally generated ones in order to let applications know that we
disconnected (e.g., when AP does not reply to a probe). Rename the
nl80211 and cfg80211 functions (s/rx_//) to make it clearer that they
are used for both received and locally generated frames.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/mac80211/mlme.c
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/nl80211.h