WPS: Do not update Beacon IEs before initial IE set

This avoids a request to the driver to first start beaconing before
the WPA/RSN IE has been generated and then immediately changing the
beacon IEs once the WPA/RSN IE is ready.
This commit is contained in:
Jouni Malinen 2011-08-09 14:40:06 +03:00 committed by Jouni Malinen
parent f10bfc9adb
commit bc45d4279f
3 changed files with 4 additions and 1 deletions

View file

@ -115,6 +115,7 @@ struct hostapd_data {
struct l2_packet_data *l2;
struct wps_context *wps;
int beacon_set_done;
struct wpabuf *wps_beacon_ie;
struct wpabuf *wps_probe_resp_ie;
#ifdef CONFIG_WPS