aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/oml.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-18 10:35:44 +0100
committerHarald Welte <laforge@gnumonks.org>2016-02-03 18:45:39 +0100
commit2ed116efeca67987257d4c2d95fd3c9ac873d57d (patch)
tree24ae21d11682711d8bb268516272b70fafd6a3c0 /src/common/oml.c
parent5f8c85bf9cf740676905f9fad5d97d4a8f518b1e (diff)
Revert "oml: temporary debug hack"
This reverts commit c623c4e589d887f8ba779a03543213d55b6d82f4. That's a commit from 2012, and it was never needed ever since.
Diffstat (limited to 'src/common/oml.c')
-rw-r--r--src/common/oml.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common/oml.c b/src/common/oml.c
index 3a8fc999..86ec1bf4 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -471,13 +471,7 @@ static int oml_rx_set_bts_attr(struct gsm_bts *bts, struct msgb *msg)
/* Test for globally unsupported stuff here */
if (TLVP_PRESENT(&tp, NM_ATT_BCCH_ARFCN)) {
- const uint16_t *value = (const uint16_t *) TLVP_VAL(&tp, NM_ATT_BCCH_ARFCN);
uint16_t arfcn = ntohs(tlvp_val16_unal(&tp, NM_ATT_BCCH_ARFCN));
-
- LOGP(DOML, LOGL_NOTICE, "MSG: %s\n", osmo_hexdump(msgb_l3(msg), msgb_l3len(msg)));
- LOGP(DOML, LOGL_NOTICE, "L3=%p, VAL=%p, DIF=%tu\n", msgb_l3(msg), value,
- (void *)value - (void *) msgb_l3(msg));
-
if (arfcn > 1024) {
LOGP(DOML, LOGL_NOTICE, "Given ARFCN %d is not supported.\n", arfcn);
return oml_fom_ack_nack(msg, NM_NACK_FREQ_NOTAVAIL);