diff --git a/src/ap/wps_hostapd.c b/src/ap/wps_hostapd.c index cc05813fb..86ce10f30 100644 --- a/src/ap/wps_hostapd.c +++ b/src/ap/wps_hostapd.c @@ -28,6 +28,7 @@ #include "wps/wps_dev_attr.h" #include "hostapd.h" #include "ap_config.h" +#include "beacon.h" #include "sta_info.h" #include "wps_hostapd.h" @@ -98,6 +99,7 @@ static int hostapd_wps_set_ie_cb(void *ctx, struct wpabuf *beacon_ie, hapd->wps_beacon_ie = beacon_ie; wpabuf_free(hapd->wps_probe_resp_ie); hapd->wps_probe_resp_ie = probe_resp_ie; + ieee802_11_set_beacon(hapd); return hapd->drv.set_ap_wps_ie(hapd, hapd->wps_beacon_ie, hapd->wps_probe_resp_ie); }