From 69e8f8285bf080ad2050fbc20f861bc8621e5c75 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 21 Jun 2010 15:35:03 +0800 Subject: bsc_api: Move debug context for subscriber into the bsc_api.c --- openbsc/src/bsc_api.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/src/bsc_api.c') diff --git a/openbsc/src/bsc_api.c b/openbsc/src/bsc_api.c index cac08be09..74ae8f5de 100644 --- a/openbsc/src/bsc_api.c +++ b/openbsc/src/bsc_api.c @@ -28,6 +28,7 @@ #include #include #include +#include #include @@ -94,6 +95,7 @@ int gsm0408_rcvmsg(struct msgb *msg, uint8_t link_id) conn = &msg->lchan->conn; if (conn->allocated) { + log_set_context(BSC_CTX_SUBSCR, conn->subscr); api->dtap(conn, msg); } else { /* accept the connection or close the lchan */ -- cgit v1.2.3