diff options
author | Eliad Peller <eliad@wizery.com> | 2012-05-15 16:08:56 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-05 16:16:08 +0200 |
commit | b515d83a2998c991171e2c533ea06ff723d355a6 (patch) | |
tree | a10910e12486f93081d3d63a2beffdb20d44557c /drivers | |
parent | wlcore: use correct link for bcast/multicast frames (diff) | |
download | linux-b515d83a2998c991171e2c533ea06ff723d355a6.tar.xz linux-b515d83a2998c991171e2c533ea06ff723d355a6.zip |
wlcore: flush before stopping AP
Make sure the deauth bcast gets sent
[Make sure we are AP as well before the flush - Arik]
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c index 4be62c93808b..1974be0ccd58 100644 --- a/drivers/net/wireless/ti/wlcore/main.c +++ b/drivers/net/wireless/ti/wlcore/main.c @@ -3968,6 +3968,10 @@ static void wl1271_op_bss_info_changed(struct ieee80211_hw *hw, if (!is_ap && (changed & BSS_CHANGED_ASSOC)) cancel_delayed_work_sync(&wl->connection_loss_work); + if (is_ap && (changed & BSS_CHANGED_BEACON_ENABLED) && + !bss_conf->enable_beacon) + wl1271_tx_flush(wl); + mutex_lock(&wl->mutex); if (unlikely(wl->state == WL1271_STATE_OFF)) |