diff --git a/pySim/cards.py b/pySim/cards.py index d912a7a0..a341b717 100644 --- a/pySim/cards.py +++ b/pySim/cards.py @@ -896,6 +896,12 @@ class WavemobileSim(Card): if sw != '9000': print("Programming OPLMNwAcT failed with code %s"%sw) + # EF.AD + if p.get('mcc') and p.get('mnc'): + sw = self.update_ad(p['mnc']) + if sw != '9000': + print("Programming AD failed with code %s"%sw) + return None def erase(self):