tici: fix leftover APN config from AT&T (#30458)

old-commit-hash: cc32a6bf9fc83259dee086cc7030eb3af1f997f5
This commit is contained in:
Adeeb Shihadeh
2023-11-13 21:33:22 -08:00
committed by GitHub
parent 91920dcf66
commit 4ef0b3d717
+3 -2
View File
@@ -533,8 +533,9 @@ class Tici(HardwareBase):
pass
# blue prime config
if sim_id.startswith('8901410'):
os.system('mmcli -m any --3gpp-set-initial-eps-bearer-settings="apn=Broadband"')
blue_prime = sim_id.startswith('8901410')
initial_apn = "Broadband" if blue_prime else ""
os.system(f'mmcli -m any --3gpp-set-initial-eps-bearer-settings="apn={initial_apn}"')
def get_networks(self):
r = {}