aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-virtual/l1_if.c
diff options
context:
space:
mode:
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) {