mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-20 10:40:41 +02:00
wwan: downgrade warning logging about 'No SIM object available'
On every start of NetworkManager I'd see a warning message: modem-broadband[cdc-wdm0]: failed to retrieve SIM object: No SIM object available Apparently, to warn about this is too alarming.
This commit is contained in:
parent
86ad508534
commit
bfe4a69c25
1 changed files with 4 additions and 2 deletions
|
|
@ -1283,8 +1283,10 @@ get_sim_ready (MMModem *modem,
|
|||
if (self->priv->ctx && self->priv->ctx->step == CONNECT_STEP_WAIT_FOR_SIM)
|
||||
connect_context_step (self);
|
||||
} else {
|
||||
_LOGW ("failed to retrieve SIM object: %s",
|
||||
NM_G_ERROR_MSG (error));
|
||||
_NMLOG (g_error_matches (error, MM_CORE_ERROR, MM_CORE_ERROR_NOT_FOUND)
|
||||
? LOGL_INFO : LOGL_WARN,
|
||||
"failed to retrieve SIM object: %s",
|
||||
NM_G_ERROR_MSG (error));
|
||||
}
|
||||
g_clear_error (&error);
|
||||
g_object_unref (self);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue