diff options
author | Harald Welte <laforge@osmocom.org> | 2020-03-21 13:40:28 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-03-21 16:31:17 +0100 |
commit | 58d173ade11d9d5fa7865edc4277450ff5794f52 (patch) | |
tree | 45a1cd8cde4c4e81a03458266992c650f90fdfec /utils | |
parent | 429adecfd8e817b1d3d4eb9590ee0e351696bad9 (diff) |
osmo-sim-test: Also [attempt to] dump DF.GSM on USIM cards
an USIM application can very well exist on a UICC without supporting
classic DF.GSM access. However, most commonly, both are found on
cards.
Change-Id: I6180a3f81a7d3006e8ece4302c2433db2588bfaa
Diffstat (limited to 'utils')
-rw-r--r-- | utils/osmo-sim-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/osmo-sim-test.c b/utils/osmo-sim-test.c index e71d0ef1..6cf36a6a 100644 --- a/utils/osmo-sim-test.c +++ b/utils/osmo-sim-test.c @@ -341,7 +341,7 @@ static int osim_uicc_scan_apps(struct osim_chan_hdl *st) extern struct osim_card_profile *osim_cprof_sim(void *ctx); -extern struct osim_card_profile *osim_cprof_uicc(void *ctx); +extern struct osim_card_profile *osim_cprof_uicc(void *ctx, bool have_df_gsm); static int dump_file(struct osim_chan_hdl *chan, const char *short_name, uint16_t fid) { @@ -652,7 +652,7 @@ int main(int argc, char **argv) rc = osim_uicc_scan_apps(chan); if (rc >= 0) { - chan->card->prof = osim_cprof_uicc(chan->card); + chan->card->prof = osim_cprof_uicc(chan->card, true); chan->cwd = chan->card->prof->mf; } else if (rc == -0x6e00) { /* CLA not supported: must be classic SIM, not USIM */ |