]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: implement sta_add/sta_remove in sta_state
authorJohannes Berg <johannes.berg@intel.com>
Fri, 20 Jan 2012 12:55:22 +0000 (13:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 19:48:25 +0000 (14:48 -0500)
commite60b1119b0beba2d504ab48a37c929c032357cb1
tree2eed7b4fbdece2358be059773b010b6acc3806b0
parent2eb97c77c2dd064866bd32a3e03be70c7b512c03
mac80211: implement sta_add/sta_remove in sta_state

Instead of maintaining separate sta_add/sta_remove
callsites, implement it in sta_state when the driver
has no sta_state implementation.

The only behavioural change this should cause is in
secure mesh mode: with this the station entries will
only be created after the stations are set to AUTH.
Given which drivers support mesh, this seems to not
be a problem.

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