aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2021-11-18 10:33:57 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2021-11-18 10:36:02 +0100
commit055b80aa5cebda5ec8207bf14cc9024e0618fd7b (patch)
tree3f40a9ead709fdb0dfe4121bde7f10fcb24bae94
parent46c6154e9d014e943ff60c5a895b778d3faf68f1 (diff)
pySim-read: do not select ADF.ISIM again
Before reading EF.IST ADF.ISIM is selected again even though it was selected before. Lets skip this step since it is unnecessary. Change-Id: I75be18e3476cb1d093bc99775eeddd0c08b81d78
-rwxr-xr-xpySim-read.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/pySim-read.py b/pySim-read.py
index 00194b4..959a7c5 100755
--- a/pySim-read.py
+++ b/pySim-read.py
@@ -320,10 +320,6 @@ if __name__ == '__main__':
except Exception as e:
print("UICC IARI: Can't read file -- " + str(e))
- # Check whether we have th AID of ISIM, if so select it by its AID
- # EF.IST - File Id in ADF ISIM : 6f07
- data, sw = card.select_adf_by_aid(adf="isim")
- if sw == '9000':
# EF.IST
(res, sw) = card.read_binary('6f07')
if sw == '9000':