]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: Generate deauth/disassoc event for locally generated frames
authorJouni Malinen <j@w1.fi>
Fri, 27 Mar 2009 18:53:56 +0000 (20:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:28 +0000 (16:54 -0400)
commitf78e9253044cec5e4dfb1a2d1831a879e5856521
tree2f9d3a465a55be2992a8f895c1d09f4cdff3c060
parent559345fa5a7e22b96d37d82ac5a8b64e0d7e4691
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