/* Notify all active PALs that the channel has changed.  */
static void uwb_radio_channel_changed(struct uwb_rc *rc, int channel)
/* Notify all active PALs that the channel has changed.  */
static void uwb_radio_channel_changed(struct uwb_rc *rc, int channel)
{
	struct uwb_pal *pal;
	list_for_each_entry(pal, &rc->pals, node) {
		if (pal->channel && channel != pal->channel) {
			pal->channel = channel;
			if (pal->channel_changed)
				pal->channel_changed(pal, pal->channel);
		}
	}
}