]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "mac80211: in IBSS use the Auth frame to trigger STA reinsertion"
authorAntonio Quartulli <antonio@open-mesh.com>
Tue, 18 Jun 2013 12:20:40 +0000 (14:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Jun 2013 14:36:59 +0000 (16:36 +0200)
commitc69a91359ca5e39484416019db089f23bf0c688c
treeffdba501488b103208892685240b29ac2513c7fc
parent988c7043465596a222271c57a3289bfac1d1f7d2
Revert "mac80211: in IBSS use the Auth frame to trigger STA reinsertion"

This reverts commit dc30b27600e3a8a6d34d2ce5317d0446fcf5c4b0

In this way an IBSS station will not use the AUTH messages
to trigger a state reinitialisation anymore.

The behaviour was racy and was not working properly.
It has been introduced to help wpa_supplicant to support
IBSS/RSN, however all the logic is now getting moved into
wpa_s itself which will also be in charge of handling the
AUTH messages thanks to the mgmt frame registration.

If userspace does not register for receiving AUTH frames
then mac80211 will still reply by itself.

At the same time, the auth frame registration counter can be
removed since it is not needed anymore.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
[remove unused variable]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h