diff options
| author | Adam Smith <adamsmith@yzguy.io> | 2026-09-29 19:30:18 +0000 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-09-30 06:13:50 +0200 |
| commit | 1aa2cd1df614925cf68964239eeaaf42ea74bc43 (patch) | |
| tree | 58bd2c3d88f73ddf04244664bc7d150ee29aa314 /src | |
| parent | 002050d158356078931d1a196538b5803eab788e (diff) | |
| download | vyos-1x-1aa2cd1df614925cf68964239eeaaf42ea74bc43.tar.gz vyos-1x-1aa2cd1df614925cf68964239eeaaf42ea74bc43.zip | |
wwan: T7487: catch malformed mmcli JSON, not just OSError
mmcli can return empty or non-JSON output while ModemManager is still
starting (T6604), and json.loads() raising on that is a ValueError, not an
OSError - it was propagating straight out of _modem_owning_port() uncaught.
Under wait=True that reaches wait_for()'s callback and aborts the poll loop
instead of retrying, exactly the startup race this module exists to ride
out.
Co-authored-by: Christian Breunig <christian@breunig.cc>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
