]> 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)
commit0980a9293dccc151afd7d9d8a02baf28c6e415ef
treec86663ea535d7aec412e4456076f9c59cb4251a6
parent70a66d293b5a11a458e27ad468fd01906f14c16b
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