All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Couzens <lynxis@fe80.eu>
To: ofono@ofono.org
Subject: [PATCH 1/2] gprs: netreg_status_changed: output the status as human readable string
Date: Sun, 28 Apr 2019 13:28:14 +0200	[thread overview]
Message-ID: <20190428112815.1407-1-lynxis@fe80.eu> (raw)

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

---
 src/gprs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gprs.c b/src/gprs.c
index 148cbc979dfb..5f66cad591c1 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -1700,7 +1700,7 @@ static void netreg_status_changed(int status, int lac, int ci, int tech,
 {
 	struct ofono_gprs *gprs = data;
 
-	DBG("%d", status);
+	DBG("%d (%s)", status, registration_status_to_string(status));
 
 	gprs->netreg_status = status;
 
-- 
2.21.0


             reply	other threads:[~2019-04-28 11:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-28 11:28 Alexander Couzens [this message]
2019-04-28 11:28 ` [PATCH 2/2] qmi: netmon: fix crashs on get_rssi_cb when BER or RSSI are empty Alexander Couzens
2019-04-28 15:14 ` [PATCH 1/2] gprs: netreg_status_changed: output the status as human readable string Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190428112815.1407-1-lynxis@fe80.eu \
    --to=lynxis@fe80.eu \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.