diff options
author | Dan Williams <dan@ioncontrol.co> | 2025-03-02 19:53:01 -0600 |
---|---|---|
committer | Dan Williams <dan@ioncontrol.co> | 2025-03-09 14:44:23 +0000 |
commit | 89466b583b699ad2323dc2a24bc5ccbe4e3a23ac (patch) | |
tree | d6c25a9e0479a7c7cb8044c227b1aa698aecdfa2 /src/mm-error-helpers.c | |
parent | e6a7be2e4c21680383bb9362c583c41eed552a58 (diff) |
port-probe: ensure port is open for all plugin AT probes
If multiple plugins are selected for probing a modem with AT probes,
earlier plugins may only request some probes but not all. When
those probes complete successfully, subsequent plugins won't re-do
the probes that were already completed, but jump to ones that
haven't yet been done.
For example, plugin A may request only AT probes but plugin B
may request AT, AT_PRODUCT, and AT_VENDOR. Plugin B will start
with AT_PRODUCT probes because plugin A already completed the AT
probe.
The code in probe_step() only opened the serial port for the
AT probe, I guess assuming that all AT-type probes would be
done in sequence. But in the above scenario they are not.
Instead, make sure the port is opened for all AT style probes
that have not yet been executed.
Fixes: 7937a89a37e941e9a77cddcce8226c316fe70821 port-probe: rework and consolidate port probe flow for AT/QCDM/QMI/MBIM
Signed-off-by: Dan Williams <dan@ioncontrol.co>
Diffstat (limited to 'src/mm-error-helpers.c')
0 files changed, 0 insertions, 0 deletions