FreeBSD/lib/lib80211/lib80211_regdomain.c
/*
 * Lookup a country by ISO country code.
 */
Lookup a country by ISO country code.
Lookup a country by ISO country code .
const struct country *
lib80211_country_findbycc(const struct regdata *rdp, enum ISOCountryCode cc)
{
	const struct country *cp;
	LIST_FOREACH(cp, &rdp->countries, next) {
		if (cp->code == cc)
			return cp;
	}
	return NULL;
}
const struct country * lib80211_country_findbycc ( const struct regdata * rdp , enum ISOCountryCode cc ) { const struct country * cp ; LIST_FOREACH ( cp , & rdp -> countries , next ) { if ( cp -> code == cc ) return cp ; } return NULL ; }
Lookup a country by ISO country code.
Lookup a country by ISO country code .