mirror of https://gerrit.osmocom.org/pysim
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: I75be18e3476cb1d093bc99775eeddd0c08b81d78changes/17/26317/1
parent
46c6154e9d
commit
055b80aa5c
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue