aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/beacon.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-12-24 20:46:20 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-24 20:46:20 (GMT)
commitbad5cdf4911e722c9e5617ba134b0ff2cc6fbe3c (patch)
tree01b1af75318f349a44aef919722bf3d44dcc101e /src/ap/beacon.h
parent7d7f7be2e51510ed15a26a1213ca04511314c1e5 (diff)
downloadhostap-bad5cdf4911e722c9e5617ba134b0ff2cc6fbe3c.zip
hostap-bad5cdf4911e722c9e5617ba134b0ff2cc6fbe3c.tar.gz
hostap-bad5cdf4911e722c9e5617ba134b0ff2cc6fbe3c.tar.bz2
Verify that beacon setup succeeds before proceeding
There is no point in starting the AP operations unless the driver can be successfully configured to beacon. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/ap/beacon.h')
-rw-r--r--src/ap/beacon.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ap/beacon.h b/src/ap/beacon.h
index a04a829..ecbab65 100644
--- a/src/ap/beacon.h
+++ b/src/ap/beacon.h
@@ -21,9 +21,9 @@ struct ieee80211_mgmt;
void handle_probe_req(struct hostapd_data *hapd,
const struct ieee80211_mgmt *mgmt, size_t len,
int ssi_signal);
-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);
+int ieee802_11_set_beacon(struct hostapd_data *hapd);
+int ieee802_11_set_beacons(struct hostapd_iface *iface);
+int ieee802_11_update_beacons(struct hostapd_iface *iface);
int ieee802_11_build_ap_params(struct hostapd_data *hapd,
struct wpa_driver_ap_params *params);
void ieee802_11_free_ap_params(struct wpa_driver_ap_params *params);