re-introduce req_ctx buffers into the host communication

This commit is contained in:
Harald Welte
2016-02-28 19:29:14 +01:00
parent 29f8f0e5d4
commit 2a6d3afd6c
5 changed files with 239 additions and 42 deletions

View File

@@ -39,10 +39,10 @@ static const conf_func config_func_ptrs[] = {
#endif
#ifdef HAVE_CARDEM
[CFG_NUM_PHONE] = {
.configure = Phone_configure,
.init = Phone_init,
.exit = Phone_exit,
.run = Phone_run,
.configure = mode_cardemu_configure,
.init = mode_cardemu_init,
.exit = mode_cardemu_exit,
.run = mode_cardemu_run,
},
#endif
#ifdef HAVE_MITM
@@ -140,6 +140,7 @@ extern int main( void )
last_simtrace_config = simtrace_config;
} else {
config_func_ptrs[simtrace_config].run();
usb_to_host();
}
}
}