cards: fix swapped PIN mapping number

The constant for _adm_chv_num is swapped. It should be 0x0A, rather than
0xA0

Change-Id: I5680d2deee855ef316a98058e8c8ff8cf4edbbb2
This commit is contained in:
Philipp Maier 2023-07-20 17:28:10 +02:00
parent 38306dfc04
commit 3175d61eb2
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class UiccCardBase(SimCardBase):
self._scc.cla_byte = "00"
self._scc.sel_ctrl = "0004" # request an FCP
# See also: ETSI TS 102 221, Table 9.3
self._adm_chv_num = 0xA0
self._adm_chv_num = 0x0A
def probe(self) -> bool:
# EF.DIR is a mandatory EF on all ICCIDs; however it *may* also exist on a TS 51.011 SIM