Fix writing of EF.HPLMNwAcT on sysmoISIM-SJA2

Change-Id: I9372a1a1f10fbe916659a8a50fe0e164987b2d5d
Closes: OS#4532
This commit is contained in:
Harald Welte
2020-05-05 17:35:57 +02:00
parent ee15c77185
commit 32f0d415af
2 changed files with 16 additions and 10 deletions

View File

@@ -1107,6 +1107,12 @@ class SysmoISIMSJA2(Card):
if sw != '9000':
print("Programming OPLMNwAcT failed with code %s"%sw)
# EF.HPLMNwAcT
if p.get('mcc') and p.get('mnc'):
sw = self.update_hplmn_act(p['mcc'], p['mnc'])
if sw != '9000':
print("Programming HPLMNwAcT failed with code %s"%sw)
# EF.AD
if p.get('mcc') and p.get('mnc'):
sw = self.update_ad(p['mnc'])