summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-12-19 19:11:20 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-01-19 15:10:58 +0100
commit50f009135d5814ba55e1fb718538eca1154d1b48 (patch)
tree9a07f4644e1dd8ac3ba5b9f2dabadeb9bcd8319f
parentca4ec2cd26fef34825b430c7e0e16faaa8cb9fcd (diff)
sgsn: Add logging to connect_timer_cb (TODO)
TODO: - LOGLevel ? Sponsored-by: On-Waves ehf
-rw-r--r--openbsc/src/gprs/gprs_gsup_client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gprs_gsup_client.c b/openbsc/src/gprs/gprs_gsup_client.c
index f6e18c9fe..bb887a4b8 100644
--- a/openbsc/src/gprs/gprs_gsup_client.c
+++ b/openbsc/src/gprs/gprs_gsup_client.c
@@ -94,6 +94,9 @@ static void connect_timer_cb(void *gsupc_)
{
struct gprs_gsup_client *gsupc = gsupc_;
+ LOGP(DGPRS, LOGL_INFO, "GSUP timer callback (%s)\n",
+ gsupc->is_connected ? "connected" : "not connected");
+
if (gsupc->is_connected)
return;