aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-virtual/l1_if.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-19 15:22:55 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-19 16:02:25 +0200
commitf66d2fc1e6e4a3aea3258f33170236a65a0892f0 (patch)
tree5af228ff80465f7656d99d7452ab3420a388e6d8 /src/osmo-bts-virtual/l1_if.c
parent2d2fca434209f96ae2c3b9e0221c6a063d23dfd9 (diff)
virt: Don't print NOTICE log message if ARFCN doesn't match
In a larger simulated network with multiple BTSs it is normal that one BTS will see GSMTAP frames for an ARFCN that is not an ARFCN used by the local BTS. This is just normal operation. Change-Id: Ic68cace9648ccb17500c94b6ede8814674aa9c29
Diffstat (limited to 'src/osmo-bts-virtual/l1_if.c')
-rw-r--r--src/osmo-bts-virtual/l1_if.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/osmo-bts-virtual/l1_if.c b/src/osmo-bts-virtual/l1_if.c
index 92121216..3ef8c721 100644
--- a/src/osmo-bts-virtual/l1_if.c
+++ b/src/osmo-bts-virtual/l1_if.c
@@ -102,11 +102,8 @@ static void virt_um_rcv_cb(struct virt_um_inst *vui, struct msgb *msg)
/* Generally ignore all msgs that are either not received with the right ARFCN... */
pinst = phy_instance_by_arfcn(plink, arfcn & GSMTAP_ARFCN_MASK);
- if (!pinst) {
- LOGP(DL1P, LOGL_NOTICE, "Ignoring incoming msg - msg ARFCN=%d not part of BTS\n",
- arfcn & GSMTAP_ARFCN_MASK);
+ if (!pinst)
goto nomessage;
- }
/* switch case with removed ACCH flag */
switch ((gsmtap_chantype & ~GSMTAP_CHANNEL_ACCH) & 0xff) {