diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-07-19 15:22:55 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-07-19 16:02:25 +0200 |
commit | f66d2fc1e6e4a3aea3258f33170236a65a0892f0 (patch) | |
tree | 5af228ff80465f7656d99d7452ab3420a388e6d8 | |
parent | 2d2fca434209f96ae2c3b9e0221c6a063d23dfd9 (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
-rw-r--r-- | src/osmo-bts-virtual/l1_if.c | 5 |
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) { |