]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add stations after AP start on reconfig
authorArik Nemtsov <arik@wizery.com>
Sun, 3 Jun 2012 20:31:56 +0000 (23:31 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Jun 2012 19:20:23 +0000 (15:20 -0400)
commit95bc26ec09ef6479862c0a7e5274a0c75aa80695
tree0624a43e9d334343abb457842be8cde524c4ee3f
parent9bfcad5919c09d60d5c2b96d9a002c6685499235
mac80211: add stations after AP start on reconfig

When performing a HW restart for an AP mode interface, add stations back
only after the AP is beaconing. This mimics the normal flow of STA
addition on AP.

Some devices (wlcore) do not support adding stations before beaconing,
so this has the added benefit of making recovery work for them.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/util.c