CHAN_VALID
if ((sc->channel[ctxnum].flags & CHAN_VALID) == 0) {
sc->channel[ctxnum].flags = CHAN_VALID;