Changeset 5155


Ignore:
Timestamp:
May 1, 2011, 6:39:23 PM (8 years ago)
Author:
_network
Message:

camd35/newcamd: do not choose reader with audisabled as aureader

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-camd35.c

    r5099 r5155  
    168168    struct s_reader *aureader = NULL, *rdr = NULL;
    169169
    170     if (ll_contains(cl->aureader_list, er->selected_reader))
     170    if (ll_contains(cl->aureader_list, er->selected_reader) && !er->selected_reader->audisabled)
    171171        aureader = er->selected_reader;
    172172
  • trunk/oscam-chk.c

    r5148 r5155  
    483483    int32_t i;
    484484
    485     if (reader->caid != caid) {
     485    if (reader->caid != caid || reader->audisabled) {
    486486        return 0;
    487487    }
Note: See TracChangeset for help on using the changeset viewer.