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)
commit7852e36186d2a1983c215836d7e3d7b8927c930d
tree191ab7c06b1ab871b95c1d732e9ca67482dbce9d
parenta4ec45a421b80bc36fd37578accf081f32527a7f
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