diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2022-05-20 14:41:48 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2022-05-20 15:36:43 +0200 |
commit | 4140758fdf5417d742d971a138d40833cdc18847 (patch) | |
tree | 326a77a959fe847274c5ebfca7eb31f207b97d15 /plugins/simtech/mm-plugin-simtech.c | |
parent | 0c67d93eddd897eab7b8b4eee3fa244d83cde9ee (diff) |
base-modem: if ABORTED during initialization, modem not exported
Commit b497de325 introduced a change by which some common errors (e.g.
SIM missing) would be reported as MM_CORE_ERROR_ABORTED.
This had the undesired effect of making the MMBaseModem object not
flag as valid the modem, because the returned error wasn't
MM_CORE_ERROR_WRONG_STATE.
We now change this logic so that only ABORTED makes the modem object
not flagged as valid, and we'll do that only if the Modem interface
isn't exposed in DBus.
Fixes b497de325
Diffstat (limited to 'plugins/simtech/mm-plugin-simtech.c')
0 files changed, 0 insertions, 0 deletions