{
struct hostapd_iface *iface = hapd->iface;
struct hostapd_hw_modes *mode = iface->current_mode;
+ struct hostapd_config *iconf = hapd->iconf;
int len = 0, ret, j;
size_t i;
len += ret;
}
+ if (iconf->country[0] && iconf->country[1]) {
+ ret = os_snprintf(buf + len, buflen - len,
+ "country_code=%c%c\ncountry3=0x%X\n",
+ iconf->country[0], iconf->country[1],
+ iconf->country[2]);
+ if (os_snprintf_error(buflen - len, ret))
+ return len;
+ len += ret;
+ }
+
if (!iface->cac_started || !iface->dfs_cac_ms) {
ret = os_snprintf(buf + len, buflen - len,
"cac_time_seconds=%d\n"