From 29e3555d61a1d718f387f99ed7d03d48bcc196ab Mon Sep 17 00:00:00 2001 From: BtbN Date: Sat, 6 Apr 2013 05:14:51 +0200 Subject: [PATCH] capmt: fix capmt for multi-frontend adapters (cherry picked from commit 63b35164bdf03ae6d1296b3e5d7c16281165e0ca) --- src/capmt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/capmt.c b/src/capmt.c index 9e12e869..341abce5 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");