From: Jaroslav Kysela Date: Tue, 26 Dec 2017 10:04:15 +0000 (+0100) Subject: cwc: call caid2name() with full caid X-Git-Tag: v4.2.6~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ace28ff33055ae25ba8c16ee93bccb0ede5d7542;p=thirdparty%2Ftvheadend.git cwc: call caid2name() with full caid --- diff --git a/src/descrambler/cwc.c b/src/descrambler/cwc.c index d555b79dc..9cec59738 100644 --- a/src/descrambler/cwc.c +++ b/src/descrambler/cwc.c @@ -529,7 +529,7 @@ cwc_new_card(cwc_t *cwc, uint16_t caid, uint8_t *ua, memcpy(ep->sa, psa[i], 8); } - n = caid2name(caid & 0xff00) ?: "Unknown"; + n = caid2name(caid) ?: "Unknown"; if (ua) { tvhinfo(LS_CWC, "%s:%i: Connected as user %s "