From e59a8308529e4d1d4d2df8adf798ea8b1469479c Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 6 Dec 2023 20:56:20 -0800 Subject: [PATCH] qcomgpsd: retry quectel setup (#30632) old-commit-hash: 2f2b9c782e2cef0cc972b39bcdc484fe0d8c9dfb --- system/qcomgpsd/qcomgpsd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/system/qcomgpsd/qcomgpsd.py b/system/qcomgpsd/qcomgpsd.py index 007c61552e..0105d4074f 100755 --- a/system/qcomgpsd/qcomgpsd.py +++ b/system/qcomgpsd/qcomgpsd.py @@ -147,6 +147,7 @@ def inject_assistance(): subprocess.check_output(cmd, stderr=subprocess.PIPE, shell=True) cloudlog.info("successfully loaded assistance data") +@retry(attempts=5, delay=1.0) def setup_quectel(diag: ModemDiag) -> bool: ret = False