Revert "bsc_api: Move debug context for subscriber into the bsc_api.c"

This is breaking the filtering for the Measurement Report case, revert
the patch for now.

This reverts commit 69e8f8285b.
This commit is contained in:
Holger Hans Peter Freyther 2010-06-23 19:42:57 +08:00
parent 9d4cca7a0e
commit 94d625bfa0
2 changed files with 1 additions and 2 deletions

View File

@ -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;
}

View File

@ -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 */