summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-10-26 18:46:50 +0100
committerHarald Welte <laforge@gnumonks.org>2014-10-26 19:50:51 +0100
commit55790aa09a8f92d437ea06b3ef2c74465612fa8b (patch)
tree749a2f2e2a009644dde4c6f4ecd9c8384d006dce /utils
parent586d710e0586a51ba19b71bf20f2bb12aa8c0aeb (diff)
sim: Prepare infrastructure for protocols != T=0 and other drivers
Diffstat (limited to 'utils')
-rw-r--r--utils/osmo-sim-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/osmo-sim-test.c b/utils/osmo-sim-test.c
index 3acbd71d..244c2df3 100644
--- a/utils/osmo-sim-test.c
+++ b/utils/osmo-sim-test.c
@@ -374,10 +374,10 @@ int main(int argc, char **argv)
struct msgb *msg;
int rc;
- reader = osim_reader_open(0, "", NULL);
+ reader = osim_reader_open(OSIM_READER_DRV_PCSC, 0, "", NULL);
if (!reader)
exit(1);
- card = osim_card_open(reader);
+ card = osim_card_open(reader, OSIM_PROTO_T0);
if (!card)
exit(2);
chan = llist_entry(card->channels.next, struct osim_chan_hdl, list);