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:
Philipp Maier
2021-11-19 14:04:12 +01:00
committed by dexter
parent 9e42e7ffce
commit 47833bc176

View File

@@ -284,6 +284,7 @@ class SimCard(object):
# First (known) halves of the U/ISIM AID
aid_map["usim"] = "a0000000871002"
aid_map["isim"] = "a0000000871004"
adf = adf.lower()
if adf in aid_map:
return aid_map[adf]
return None