UPSTREAM: mac80211: add stations after AP start on reconfig
authorArik Nemtsov <arik@wizery.com>
Sun, 3 Jun 2012 20:31:56 +0000 (23:31 +0300)
committerGerrit <chrome-bot@google.com>
Mon, 20 Aug 2012 17:39:56 +0000 (10:39 -0700)
commit41b390904a7bd40e64a6694a9616f299fbf31772
treeab18759da4643627e44b46ec376b3999d5b2445a
parentfb03bf52068f36959818a0fa813bec4ff5c98273
UPSTREAM: mac80211: add stations after AP start on reconfig

BUG=chrome-os-partner:10785
TEST=Manual (run wifi test suites)

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.

Change-Id: I087759324047648092e717ec7fe266e9b15d1776
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/30881
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: Tan Gao <tgao@chromium.org>
Tested-by: Tan Gao <tgao@chromium.org>
net/mac80211/util.c