aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <246tnt@gmail.com>2012-01-26 00:53:15 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-26 00:53:15 +0100
commitf233812722cede1fee0aa521ed81572686d64fad (patch)
treeb6ddbe0a6d003ab761f66b01a996d23968e5b241
parent2a3d3624be53a3d172465829ea92c824825ea120 (diff)
simtrace: 7816 UART: Add missing entry in Di table
Add missing entry in Fi_table. It's apparently used as '64' in some reader and 'unsupported' in some other. For simtrace I guess we should consider it 64.
-rw-r--r--firmware/src/simtrace/iso7816_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/src/simtrace/iso7816_uart.c b/firmware/src/simtrace/iso7816_uart.c
index 17303ca..706b5db 100644
--- a/firmware/src/simtrace/iso7816_uart.c
+++ b/firmware/src/simtrace/iso7816_uart.c
@@ -119,7 +119,7 @@ static const u_int16_t fi_table[] = {
/* Table 7 from ISO 7816-3 */
static const u_int8_t di_table[] = {
- 0, 1, 2, 4, 8, 16, 32, 0,
+ 0, 1, 2, 4, 8, 16, 32, 64,
12, 20, 2, 4, 8, 16, 32, 64,
};