diff --git a/src/ap/gas_serv.c b/src/ap/gas_serv.c index 7595281d0..3878ce6d8 100644 --- a/src/ap/gas_serv.c +++ b/src/ap/gas_serv.c @@ -580,6 +580,7 @@ static void anqp_add_fils_realm_info(struct hostapd_data *hapd, if (count == 0) break; wpabuf_put_data(buf, realm->hash, 2); + count--; } } }