remsim_client: Use bankd_conn_send_rspro() where applicable
Change-Id: I63b3b07379ae66208a03d3a27500e7973ddfb9e7
This commit is contained in:
parent
f14dc04627
commit
9bfc6b3ba6
|
@ -430,7 +430,7 @@ static int process_do_rx_da(struct cardem_inst *ci, uint8_t *buf, int len)
|
||||||
BankSlot_t bslot;
|
BankSlot_t bslot;
|
||||||
bank_slot2rspro(&bslot, &g_client->bankd_slot);
|
bank_slot2rspro(&bslot, &g_client->bankd_slot);
|
||||||
RsproPDU_t *pdu = rspro_gen_TpduModem2Card(g_client->srv_conn.clslot, &bslot, apdu_command, sizeof(ac.hdr) + ac.lc.tot); // create RSPRO packet
|
RsproPDU_t *pdu = rspro_gen_TpduModem2Card(g_client->srv_conn.clslot, &bslot, apdu_command, sizeof(ac.hdr) + ac.lc.tot); // create RSPRO packet
|
||||||
ipa_client_conn_send_rspro(g_client->bankd_conn, pdu); // send RSPRO packet
|
bankd_conn_send_rspro(g_client, pdu);
|
||||||
// the response will come separately
|
// the response will come separately
|
||||||
free(apdu_command);
|
free(apdu_command);
|
||||||
} else if (ac.lc.tot > ac.lc.cur) { // there is pending data from the modem
|
} else if (ac.lc.tot > ac.lc.cur) { // there is pending data from the modem
|
||||||
|
|
Loading…
Reference in New Issue