Changeset 5037 for trunk/module-cccam.c
- Timestamp:
- 04/17/11 22:36:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-cccam.c
r4994 r5037 1650 1650 } 1651 1651 free_extended_ecm_idx_by_card(cl, card); 1652 1653 if (card->hop == 1) cc->num_hop1--; 1654 else if (card->hop == 2) cc->num_hop2--; 1655 else cc->num_hopx--; 1656 1652 1657 cc_free_card(card); 1653 1658 cc->card_removed_count++; … … 1723 1728 cc_free_cardlist(cc->cards, FALSE); 1724 1729 cc->last_emm_card = NULL; 1730 cc->num_hop1 = 0; 1731 cc->num_hop2 = 0; 1732 cc->num_hopx = 0; 1725 1733 pthread_mutex_unlock(&cc->cards_busy); 1726 1734 … … 1883 1891 set_au_data(cl, rdr, card, NULL); 1884 1892 cc->card_added_count++; 1893 1894 if (card->hop == 1) cc->num_hop1++; 1895 else if (card->hop == 2) cc->num_hop2++; 1896 else cc->num_hopx++; 1885 1897 } 1886 1898 } … … 2896 2908 cc->extended_mode = 0; 2897 2909 cc->last_emm_card = NULL; 2910 cc->num_hop1 = 0; 2911 cc->num_hop2 = 0; 2912 cc->num_hopx = 0; 2898 2913 2899 2914 memset(&cc->cmd05_data, 0, sizeof(cc->cmd05_data));
Note:
See TracChangeset
for help on using the changeset viewer.