diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c index be328dedb..52b521f93 100644 --- a/wpa_supplicant/scan.c +++ b/wpa_supplicant/scan.c @@ -581,7 +581,7 @@ static struct wpabuf * wpa_supplicant_extra_ies(struct wpa_supplicant *wpa_s) #endif /* CONFIG_WPS */ #ifdef CONFIG_HS20 - if (wpa_s->conf->hs20 && wpabuf_resize(&extra_ie, 7) == 0) + if (wpa_s->conf->hs20 && wpabuf_resize(&extra_ie, 9) == 0) wpas_hs20_add_indication(extra_ie, -1, 0); #endif /* CONFIG_HS20 */