/* Converts channel number to channel frequency. Returns 0 if the channel is out of range. Also used by some code in wlc_iw.c  */
uint wf_channel2freq(uint channel)
/* Converts channel number to channel frequency. Returns 0 if the channel is out of range. Also used by some code in wlc_iw.c  */
uint wf_channel2freq(uint channel)
{
	uint i;
	for (i = 0; i < ARRAYSIZE(chan_info); i++)
		if (chan_info[i].chan == channel)
			return (chan_info[i].freq);
	return (0);
}