network: Add debug for network registration status updates
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 11 Feb 2012 06:00:49 +0000 (07:00 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 11 Feb 2012 06:00:49 +0000 (07:00 +0100)
src/network.c

index 1b9b363..e7e6fb5 100644 (file)
@@ -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;