/* Returns true for the channel numbers used without all_channels modparam.  */
static bool ath5k_is_standard_channel(short chan)
/* Returns true for the channel numbers used without all_channels modparam.  */
static bool ath5k_is_standard_channel(short chan)
{
	return ((chan <= 14) ||
		((chan & 3) == 0 && chan >= 36 && chan <= 64) ||
		((chan & 3) == 0 && chan >= 100 && chan <= 140) ||
		((chan & 3) == 1 && chan >= 149 && chan <= 165));
}