Lines Matching defs:country
1556 if (hapd->iconf->country[0] && hapd->iconf->country[1]) {
1557 char country[4], previous_country[4];
1563 os_memcpy(country, hapd->iconf->country, 3);
1564 country[3] = '\0';
1565 if (hostapd_set_country(hapd, country) < 0) {
1566 wpa_printf(MSG_ERROR, "Failed to set country code");
1570 wpa_printf(MSG_DEBUG, "Previous country code %s, new country code %s",
1571 previous_country, country);
1573 if (os_strncmp(previous_country, country, 2) != 0) {