/* Returns the default channel for a regulatory domain  */
static int iw_default_channel(int reg_domain)
/* Returns the default channel for a regulatory domain  */
static int iw_default_channel(int reg_domain)
{
	int i, rc = 1;
	for (i = 0; i < ARRAY_SIZE(iw_channel_table); i++)
		if (reg_domain == iw_channel_table[i].reg_domain) {
			rc = iw_channel_table[i].deflt;
			break;
		}
	return rc;
}