Make programming OPC optional

Change-Id: Ic600c325557918cb7d5b1fb179c01936a078c96c
This commit is contained in:
Daniel Willmann authored and Harald Welte committed 2019-08-28 23:19:57 +02:00
1 parent 35a96edb0d
commit 67acdbc817
1 file changed
+1 -1
+1 -1
View File
@@ -582,10 +582,10 @@ class SysmoUSIMSJS1(Card):
data, sw = self._scc.update_binary('00FF', p['ki'])
# set OPc in proprietary file
if 'opc' in p:
content = "01" + p['opc']
data, sw = self._scc.update_binary('00F7', content)
# write EF.IMSI
data, sw = self._scc.update_binary('6f07', enc_imsi(p['imsi']))