aboutsummaryrefslogtreecommitdiff
path: root/src/mm-log-object.c
diff options
context:
space:
mode:
authorCarlo Lobrano <c.lobrano@gmail.com>2022-07-14 10:34:57 +0200
committerAleksander Morgado <aleksander@aleksander.es>2022-07-15 11:18:36 +0000
commit85d4ad11580d52375675db81a4cb3799d43a89f8 (patch)
tree6d571e7db93b613d9679a3104305161a723b6ea9 /src/mm-log-object.c
parent249e46a70a84290ff0be2b0ba74c27119be6ec87 (diff)
mm-iface-modem-3gpp-profile-manager: do not try to deactivate unused profile
'mm_3gpp_profile_list_find_best' can return an unused profile ID, which is later tested for being already activated in 'profile_manager_check_activated_profile_ready' with +GCACT?. Since the profile does not exist, this check always fails, but the profile manager still tries to deactivate it, which is unnecessary. This change checks the return error from 'check_activated_profile' and skips SET_PROFILE_STEP_DEACTIVATE_PROFILE step if error is MM_CORE_ERROR_NOT_FOUND.
Diffstat (limited to 'src/mm-log-object.c')
0 files changed, 0 insertions, 0 deletions