]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove dummy STA support
authorJohannes Berg <johannes.berg@intel.com>
Fri, 20 Jan 2012 12:55:24 +0000 (13:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 19:50:37 +0000 (14:50 -0500)
commit2545d9cbc392c7bb092d20bd616244fa17b3320e
tree191ab7c06b1ab871b95c1d732e9ca67482dbce9d
parente60b1119b0beba2d504ab48a37c929c032357cb1
mac80211: remove dummy STA support

The dummy STA support was added because I didn't
want to change the driver API at the time. Now
that we have state transitions triggering station
add/remove in the driver, we only call add once a
station reaches ASSOCIATED, so we can remove the
dummy station stuff again.

While at it, tighten the RX check and accept only
port control (EAP) frames from the AP station if
it's not associated yet -- in other cases there's
no race.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c
net/mac80211/rx.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h