diff options
author | Louis-Alexis Eyraud <louis-alexis.eyraud@unabiz.com> | 2023-01-23 09:56:34 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2023-01-23 14:49:33 +0000 |
commit | 6006dd1d6347d7db449f523387b4b5fb96649531 (patch) | |
tree | 9d10d6b65058a14aedc3f5cc8265cc205d11e6bf /docs/reference/api | |
parent | 90c1788be089958e753dc7031fc2c606602a289b (diff) |
broadband-modem-qmi: don't fail on power indication registration error
This commit modifies the QMI DMS Operating Mode indication registration logic.
During the power sequence chance, if a QMI_PROTOCOL_ERROR_MISSING_ARGUMENT error
was returned in "DMS Set Event Report" operation for Operating Mode Reporting failed,
the whole sequence was aborted, leading the modem to be disabled.
<debug> [modem0] Power indication registration request is sent
...
<debug> [modem0] couldn't update power state: Couldn't register for power indications: QMI protocol error (17): 'MissingArgument'
<warn> [modem0] couldn't enable interface: 'Couldn't register for power indications: QMI protocol error (17): 'MissingArgument''
<debug> [modem0] running implicit disable after failed enable...
This commit modifies the logic to properly detect the failure and
continue the sequence without the indications.
Fixes #683
Signed-off-by: Louis-Alexis Eyraud <louis-alexis.eyraud@unabiz.com>
Diffstat (limited to 'docs/reference/api')
0 files changed, 0 insertions, 0 deletions