mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
card_emu: Remove extraneous initialization of ch->pts.state
ch->pts.state is initialized every time we enter ISO_S_WAIT_TPDU state, so there's no need to reset it at other locations. KISS. Change-Id: I5ff8b2671c3c893cc5f6542d48b65487ae8c5be1
This commit is contained in:
@@ -256,8 +256,6 @@ static void card_handle_reset(struct card_handle *ch)
|
||||
|
||||
tc_etu_disable(ch->tc_chan);
|
||||
|
||||
ch->tpdu.state = TPDU_S_WAIT_CLA;
|
||||
|
||||
/* release any buffers we may still own */
|
||||
if (ch->uart_tx_msg) {
|
||||
usb_buf_free(ch->uart_tx_msg);
|
||||
|
||||
Reference in New Issue
Block a user