/* uwb_radio_force_channel - force a specific channel to be used @rc: the radio controller. @channel: the channel to use; -1 to force the radio to stop; 0 to use the default channel selection algorithm.  */
int uwb_radio_force_channel(struct uwb_rc *rc, int channel)
/* uwb_radio_force_channel - force a specific channel to be used @rc: the radio controller. @channel: the channel to use; -1 to force the radio to stop; 0 to use the default channel selection algorithm.  */
int uwb_radio_force_channel(struct uwb_rc *rc, int channel)
{
	int ret = 0;
	mutex_lock(&rc->uwb_dev.mutex);
	rc->beaconing_forced = channel;
	ret = uwb_radio_change_channel(rc, uwb_radio_select_channel(rc));
	mutex_unlock(&rc->uwb_dev.mutex);
	return ret;
}