Commit bfe4a69c authored by Thomas Haller's avatar Thomas Haller
Browse files

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.
parent 86ad5085
......@@ -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)
"failed to retrieve SIM object: %s",
NM_G_ERROR_MSG (error));
g_clear_error (&error);
g_object_unref (self);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment