]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: flush stations before stop beaconing
authorEliad Peller <eliad@wizery.com>
Wed, 18 Jul 2012 12:36:04 +0000 (15:36 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 18 Jul 2012 15:03:51 +0000 (17:03 +0200)
commitcf4d9b82aadcc18b2c85080515e2355dfa36c698
tree49e06cf4d57c40ee9b2be5f0efe8b4f9eb519b57
parent036b911d3db26d6d4d75780af55288f0d047afdf
mac80211: flush stations before stop beaconing

When AP interface is going down, the stations
are flushed (in ieee80211_do_stop()) only after
the beaconing was stopped.

However, drivers might rely on stations being
removed before the beaconing was stopped, in
order to clean up properly.

Fix it by flushing the stations on ap stop.

(we already do the same for other interface
types, e.g. in ieee80211_set_disassoc())

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c