Changeset 40685


Ignore:
Timestamp:
07/31/17 22:16:35 (5 years ago)
Author:
gost
Message:

fix

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/ca.h

    r40684 r40685  
    15241524                                casession[sessionnr].inuse = 1;
    15251525                                casession[sessionnr].ccmanager = 1;
     1526#ifdef MIPSEL
     1527                                if(checkcerts() == 1)
     1528                                        descrambler_open();
     1529#endif
    15261530                                //neutrino [session_nb - 1] = new eDVBCIContentControlManagerSession(slot);
    15271531                                debug(620, "create session cc manager");
  • titan/titan/cacc.h

    r40678 r40685  
    115115                        printf("[titan] #### CA_DATA_IV - CA_SET_DESCR_DATA index=0x%04x parity=0x%04x\n", index, parity);     
    116116        }
    117         descrambler_close();
     117        //descrambler_close();
    118118
    119119#else
     
    291291{
    292292        debug(620, "start");
    293         desc_fd = open(descrambler_filename, O_RDWR | O_NONBLOCK );
    294         debug(620, "descrambler_filename: %s desc_fd: %d", descrambler_filename, desc_fd);
    295 
     293        if(desc_fd == -1)
     294        {
     295                desc_fd = open(descrambler_filename, O_RDWR | O_NONBLOCK );
     296                debug(620, "descrambler_filename: %s desc_fd: %d", descrambler_filename, desc_fd);
     297        }
    296298        if (desc_fd <= 0) {
    297299                printf("cannot open %s\n", descrambler_filename);
Note: See TracChangeset for help on using the changeset viewer.