From 9bfc6b3ba6cfce26579db335aba75dfcbedfa9c5 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 28 Mar 2019 20:29:53 +0100 Subject: [PATCH] remsim_client: Use bankd_conn_send_rspro() where applicable Change-Id: I63b3b07379ae66208a03d3a27500e7973ddfb9e7 --- src/simtrace2-remsim_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simtrace2-remsim_client.c b/src/simtrace2-remsim_client.c index a186b83..a256c3e 100644 --- a/src/simtrace2-remsim_client.c +++ b/src/simtrace2-remsim_client.c @@ -430,7 +430,7 @@ static int process_do_rx_da(struct cardem_inst *ci, uint8_t *buf, int len) BankSlot_t bslot; 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 - 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 free(apdu_command); } else if (ac.lc.tot > ac.lc.cur) { // there is pending data from the modem