diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-06-07 18:06:30 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-06-28 09:48:06 +0200 |
commit | 4656b5b606bbe7fce3426bf34dc2d231be757687 (patch) | |
tree | 52983a315980e856c509f72a864fa5a9c70dd084 /src | |
parent | d1b716abaf4fca0a31498ce77b17fbc7216a5936 (diff) |
broadband-modem: fix logging whether enabling or disabling URCs
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-broadband-modem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c index 93b78fa4..07ce355f 100644 --- a/src/mm-broadband-modem.c +++ b/src/mm-broadband-modem.c @@ -3312,28 +3312,28 @@ run_unsolicited_events_setup (GTask *task) /* CMER on primary port */ if (!ctx->cmer_primary_done && ctx->cmer_command && ctx->primary) { - mm_dbg ("Enabling +CIND event reporting in primary port..."); + mm_dbg ("%s +CIND event reporting in primary port...", ctx->enable ? "Enabling" : "Disabling"); ctx->cmer_primary_done = TRUE; command = ctx->cmer_command; port = ctx->primary; } /* CMER on secondary port */ else if (!ctx->cmer_secondary_done && ctx->cmer_command && ctx->secondary) { - mm_dbg ("Enabling +CIND event reporting in secondary port..."); + mm_dbg ("%s +CIND event reporting in secondary port...", ctx->enable ? "Enabling" : "Disabling"); ctx->cmer_secondary_done = TRUE; command = ctx->cmer_command; port = ctx->secondary; } /* CGEREP on primary port */ else if (!ctx->cgerep_primary_done && ctx->cgerep_command && ctx->primary) { - mm_dbg ("Enabling +CGEV event reporting in primary port..."); + mm_dbg ("%s +CGEV event reporting in primary port...", ctx->enable ? "Enabling" : "Disabling"); ctx->cgerep_primary_done = TRUE; command = ctx->cgerep_command; port = ctx->primary; } /* CGEREP on secondary port */ else if (!ctx->cgerep_secondary_done && ctx->cgerep_command && ctx->secondary) { - mm_dbg ("Enabling +CGEV event reporting in secondary port..."); + mm_dbg ("%s +CGEV event reporting in secondary port...", ctx->enable ? "Enabling" : "Disabling"); ctx->cgerep_secondary_done = TRUE; port = ctx->secondary; command = ctx->cgerep_command; |