mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-30 19:25:07 +03:00
cards: make _get_aid case insensitive
There is no need to be case sensitive when the xSIM application name is given as AID. Change-Id: I9944d9180bf1ba35f44f0be2b05bdb725b5b8da9
This commit is contained in:
@@ -284,6 +284,7 @@ class SimCard(object):
|
|||||||
# First (known) halves of the U/ISIM AID
|
# First (known) halves of the U/ISIM AID
|
||||||
aid_map["usim"] = "a0000000871002"
|
aid_map["usim"] = "a0000000871002"
|
||||||
aid_map["isim"] = "a0000000871004"
|
aid_map["isim"] = "a0000000871004"
|
||||||
|
adf = adf.lower()
|
||||||
if adf in aid_map:
|
if adf in aid_map:
|
||||||
return aid_map[adf]
|
return aid_map[adf]
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user