simtrace2: use correct event when dispatching modem data to main_fsm

Change-Id: I35e20a577544bde7ad7440a617dc3ed4d2572abf
This commit is contained in:
Harald Welte 2020-05-25 22:48:27 +02:00
parent eea6135f61
commit 1eec53dbfb
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ static int process_do_rx_da(struct osmo_st2_cardem_inst *ci, uint8_t *buf, int l
/* send APDU to card */
ftpdu.buf = apdu_command;
ftpdu.len = sizeof(ac.hdr) + ac.lc.tot;
osmo_fsm_inst_dispatch(bc->main_fi, MF_E_BANKD_TPDU, &ftpdu);
osmo_fsm_inst_dispatch(bc->main_fi, MF_E_MDM_TPDU, &ftpdu);
} else if (ac.lc.tot > ac.lc.cur) {
/* there is pending data from the modem: send procedure byte to get remaining data */
osmo_st2_cardem_request_pb_and_rx(ci, ac.hdr.ins, ac.lc.tot - ac.lc.cur);