cwc: reset prefcapid if service can't be descrambled
This commit is contained in:
parent
b77c68e6e8
commit
667e1c2bad
1 changed files with 6 additions and 1 deletions
|
@ -835,12 +835,17 @@ forbid:
|
|||
"Req delay: %"PRId64" ms)",
|
||||
t->s_svcname, seq, delay);
|
||||
ct->cs_keystate = CS_FORBIDDEN;
|
||||
|
||||
/* reset prefcapid if descrambling fails */
|
||||
t->s_prefcapid = 0;
|
||||
service_request_save(t, 0);
|
||||
|
||||
return;
|
||||
|
||||
} else {
|
||||
|
||||
ct->cs_okchannel = es->es_channel;
|
||||
tvhlog(LOG_DEBUG, "cwc", "es->es_nok %d t->tht_prefcapid %d", es->es_nok, t->s_prefcapid);
|
||||
tvhlog(LOG_DEBUG, "cwc", "es->es_nok %d, t->tht_prefcapid %d", es->es_nok, t->s_prefcapid);
|
||||
if(es->es_nok == 1 || t->s_prefcapid == 0) {
|
||||
t->s_prefcapid = ct->cs_okchannel;
|
||||
service_request_save(t, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue