From: Adam Sutton Date: Tue, 23 Jul 2013 21:12:25 +0000 (+0100) Subject: cwc: fix stupid mistake in key updating (only setting using one set) X-Git-Tag: v3.9^2~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f8510d7a34b098ce2e1fcb4b44d96b045778b40;p=thirdparty%2Ftvheadend.git cwc: fix stupid mistake in key updating (only setting using one set) --- diff --git a/src/descrambler/cwc.c b/src/descrambler/cwc.c index e234e28fe..c34a8e940 100644 --- a/src/descrambler/cwc.c +++ b/src/descrambler/cwc.c @@ -1901,7 +1901,7 @@ update_keys(cwc_service_t *ct) for(i = 0; i < 8; i++) if(ct->cs_cw[8 + i]) { - tvhcsa_set_key_odd(&ct->cs_csa, ct->cs_cw); + tvhcsa_set_key_odd(&ct->cs_csa, ct->cs_cw+8); break; } }