diff options
-rw-r--r-- | openbsc/src/abis_rsl.c | 1 | ||||
-rw-r--r-- | openbsc/src/bsc_api.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c index 6a905d252..6c6230f5a 100644 --- a/openbsc/src/abis_rsl.c +++ b/openbsc/src/abis_rsl.c @@ -123,6 +123,7 @@ struct gsm_lchan *lchan_lookup(struct gsm_bts_trx *trx, u_int8_t chan_nr) lchan = &ts->lchan[lch_idx]; log_set_context(BSC_CTX_LCHAN, lchan); + log_set_context(BSC_CTX_SUBSCR, lchan->conn.subscr); return lchan; } diff --git a/openbsc/src/bsc_api.c b/openbsc/src/bsc_api.c index 74ae8f5de..cac08be09 100644 --- a/openbsc/src/bsc_api.c +++ b/openbsc/src/bsc_api.c @@ -28,7 +28,6 @@ #include <openbsc/signal.h> #include <openbsc/abis_rsl.h> #include <openbsc/chan_alloc.h> -#include <openbsc/debug.h> #include <osmocore/talloc.h> @@ -95,7 +94,6 @@ 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 */ |