]> 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)
commit90037dbb6cfc5ab5aa641e098344847c7bf7745b
treeffdba501488b103208892685240b29ac2513c7fc
parent64ad9bc4207a10f237d793b7e05db2548bbf6ada
Revert "mac80211: in IBSS use the Auth frame to trigger STA reinsertion"

This reverts commit ec23a1add7bae04b919c9ab00a1e6925ead08977

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