From: BtbN Date: Sat, 6 Apr 2013 03:14:51 +0000 (+0200) Subject: capmt: fix capmt for multi-frontend adapters X-Git-Tag: v3.9~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F265%2Fhead;p=thirdparty%2Ftvheadend.git capmt: fix capmt for multi-frontend adapters --- diff --git a/src/capmt.c b/src/capmt.c index 9e12e8696..341abce59 100644 --- a/src/capmt.c +++ b/src/capmt.c @@ -620,6 +620,8 @@ capmt_thread(void *aux) #if ENABLE_LINUXDVB th_dvb_adapter_t *tda; TAILQ_FOREACH(tda, &dvb_adapters, tda_global_link) { + if (!tda->tda_enabled) + continue; if (tda->tda_rootpath) { //if rootpath is NULL then can't rely on tda_adapter_num because it is always 0 if (tda->tda_adapter_num > MAX_CA) { tvhlog(LOG_ERR, "capmt", "adapter number > MAX_CA");