1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

always interpret pls code as gold code

This commit is contained in:
Ralph Metzler 2016-07-31 21:40:22 +02:00
parent a1221c6e4e
commit e2db17b04e

View File

@ -3538,7 +3538,7 @@ static enum dvbfe_search stv090x_search(struct dvb_frontend *fe, struct dvb_fron
(props->stream_id & 0xffffff00)) (props->stream_id & 0xffffff00))
pls = props->stream_id >> 8; pls = props->stream_id >> 8;
if (props->pls != NO_SCRAMBLING_CODE) if (props->pls != NO_SCRAMBLING_CODE)
pls = props->pls; pls = props->pls | 0x40000; /* props->pls is always gold code */
stv090x_set_pls(state, (pls >> 18) & 3, pls & 0x3ffff); stv090x_set_pls(state, (pls >> 18) & 3, pls & 0x3ffff);
stv090x_set_mis(state, props->stream_id); stv090x_set_mis(state, props->stream_id);