log exit of sc_single_transmit in case of SM
This commit is contained in:
parent
0a254dc2bb
commit
752e5afd49
|
@ -377,8 +377,9 @@ sc_single_transmit(struct sc_card *card, struct sc_apdu *apdu)
|
|||
apdu->cla, apdu->ins, apdu->p1, apdu->p2, apdu->datalen,
|
||||
apdu->data);
|
||||
#ifdef ENABLE_SM
|
||||
if (card->sm_ctx.sm_mode == SM_MODE_TRANSMIT)
|
||||
return sc_sm_single_transmit(card, apdu);
|
||||
if (card->sm_ctx.sm_mode == SM_MODE_TRANSMIT) {
|
||||
LOG_FUNC_RETURN(ctx, sc_sm_single_transmit(card, apdu));
|
||||
}
|
||||
#endif
|
||||
|
||||
/* send APDU to the reader driver */
|
||||
|
|
Loading…
Reference in New Issue