summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-02-11 07:00:49 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-02-11 07:00:49 +0100
commit1f42acc86e568f24bb44756e439a03b2594f6666 (patch)
treeaccd9e82fe0c7c15f4e1f3a12bb02d91e603534c
parente3ef803a750047545c56f540c558de4415a4cc37 (diff)
downloadofono-1f42acc86e568f24bb44756e439a03b2594f6666.tar.bz2
network: Add debug for network registration status updates
-rw-r--r--src/network.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network.c b/src/network.c
index 1b9b3633..e7e6fb57 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1336,6 +1336,9 @@ void ofono_netreg_status_notify(struct ofono_netreg *netreg, int status,
if (netreg == NULL)
return;
+ DBG("%s status %d tech %d", __ofono_atom_get_path(netreg->atom),
+ status, tech);
+
if (netreg->status != status) {
struct ofono_modem *modem;