]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mesh: flush stations before beacons are stopped
authorMaital Hahn <maitalm@ti.com>
Wed, 13 Jul 2016 11:44:41 +0000 (14:44 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Aug 2016 06:45:15 +0000 (08:45 +0200)
commit55838e32a5adfe880b72f6fc641d8f2dc5ae5702
treec86663ea535d7aec412e4456076f9c59cb4251a6
parent8b468a3605e5236a8675b68c84d70699359b4e1c
mac80211: mesh: flush stations before beacons are stopped

Some drivers (e.g. wl18xx) expect that the last stage in the
de-initialization process will be stopping the beacons, similar to AP flow.
Update ieee80211_stop_mesh() flow accordingly.
As peers can be removed dynamically, this would not impact other drivers.

Tested also on Ralink RT3572 chipset.

Signed-off-by: Maital Hahn <maitalm@ti.com>
Signed-off-by: Yaniv Machani <yanivma@ti.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.c