Previous runs of dev_acquisition_start() keep the enabled_channels list
populated if they fail. This means that once an invalid channel
configuration was detected, it will be detected again even if the channel
configuration was changed. With this change, the list will be cleared
before being populated so that any stale entries are removed.
devc = sdi->priv;
digital_added = FALSE;
+ g_slist_free(devc->enabled_channels);
+ devc->enabled_channels = NULL;
+
for (l = sdi->channels; l; l = l->next) {
ch = l->data;
if (!ch->enabled)