Changeset 4509 for trunk/module-cccam.c
- Timestamp:
- 01/17/11 14:34:35 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-cccam.c
r4508 r4509 1512 1512 1513 1513 cl->cc=NULL; 1514 pthread_mutex_ lock(&cc->cards_busy);1514 pthread_mutex_trylock(&cc->cards_busy); 1515 1515 if (!cl->cc) return; 1516 1516 cc_free_cardlist(cc->cards, TRUE); … … 3165 3165 } 3166 3166 3167 if (rdr->typ == R_CCCAM && cfg->cc_reshare_services<2 ) {3167 if (rdr->typ == R_CCCAM && cfg->cc_reshare_services<2 && rdr->card_status != CARD_FAILURE) { 3168 3168 3169 3169 cs_debug_mask(D_CLIENT, "%s asking reader %s for cards...", … … 3175 3175 3176 3176 int count = 0; 3177 if (rcc && rcc->cards ) {3177 if (rcc && rcc->cards && rcc->mode == CCCAM_MODE_NORMAL) { 3178 3178 if (!pthread_mutex_trylock(&rcc->cards_busy)) { 3179 3179 LL_ITER *it = ll_iter_create(rcc->cards);
Note:
See TracChangeset
for help on using the changeset viewer.