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

This reverts commit 6d810f10325522cfcf498dc6d64b9f96e1f5153f

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