aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/beacon.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-04-01 15:12:04 (GMT)
committerJouni Malinen <j@w1.fi>2012-04-01 15:12:04 (GMT)
commit370b076197bccc4b6d6862b94861571dadc5c128 (patch)
treed954348e00ea7e330c4964af6ad8ea9bde1d8be9 /src/ap/beacon.h
parentc6e86b63d28a6ea87f7ebaf3b35f7343524dc0b5 (diff)
downloadhostap-370b076197bccc4b6d6862b94861571dadc5c128.zip
hostap-370b076197bccc4b6d6862b94861571dadc5c128.tar.gz
hostap-370b076197bccc4b6d6862b94861571dadc5c128.tar.bz2
hostapd: Only update already-set beacons when processing OLBC
When hostapd is about to start an AP using HT40, it starts a scan to check whether it is allowed or not. If OLBC is detected before the scan has completed, it sets the beacons prematurely. To fix this, instead of setting all beacons when OLBC is detected, only update the ones that have already been started. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'src/ap/beacon.h')
-rw-r--r--src/ap/beacon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ap/beacon.h b/src/ap/beacon.h
index a944f5f..0dd6021 100644
--- a/src/ap/beacon.h
+++ b/src/ap/beacon.h
@@ -22,5 +22,6 @@ void handle_probe_req(struct hostapd_data *hapd,
const struct ieee80211_mgmt *mgmt, size_t len);
void ieee802_11_set_beacon(struct hostapd_data *hapd);
void ieee802_11_set_beacons(struct hostapd_iface *iface);
+void ieee802_11_update_beacons(struct hostapd_iface *iface);
#endif /* BEACON_H */