trx_toolkit/transceiver.py: allow NOPE.ind on inactive timeslots

Change-Id: I27a3c8897cb82f6c264d34702c4ec64561bb9809
Related: SYS#5313, OS#1569
This commit is contained in:
Vadim Yanitskiy 2021-06-14 21:56:24 +02:00
parent 825716851e
commit e4d5bbccf9
1 changed files with 2 additions and 1 deletions

View File

@ -269,7 +269,8 @@ class Transceiver:
return None
# Make sure that indicated timeslot is configured
if msg.tn not in self.ts_list:
# Pass PDUs without burst bits, they will be sent as NOPE.ind
if msg.tn not in self.ts_list and msg.burst:
log.warning("(%s) RX TRXD message (%s), but timeslot is not "
"configured => dropping..." % (self, msg.desc_hdr()))
return None