diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2021-05-17 02:28:28 +0200 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2021-05-20 19:03:05 +0200 |
commit | 1c2c92da172e3a1c0cfe873ad4acf7e288c7b4ff (patch) | |
tree | 5f012112f5c958474d66c452882de00d34217723 /debian/changelog | |
parent | f4c2b61e3e6654bf51cf7facf38cdb1cad20fa15 (diff) |
osmo-bts-trx: fix hopping pointer bug in trx_sched_fn()
In change [1] together with the actual implementation I introduced
a serious bug to trx_sched_fn(): if a timeslot is configured to use
frequency hopping, both 'pinst' and 'l1h' pointers are *overwriten*
in the inner loop, so the Downlink burst is re-directed to the
approproate PHY instance. However, if a subsequent timeslot is not
hopping, the Downlink burst would be re-directed to the wrong PHY
instance because both pointers were overwriten during a previous
iteration.
Let's add another 'struct phy_instance' pointer to the inner loop,
so it's properly re-initialized for each timeslot iteration.
Change-Id: I9afbbef8dc5d885763356470c27d4392dce8e815
Fixes: [1] I68f4ae09fd0789ad0d8f1c1e17e17dfc4de8e462
Related: SYS#4868, OS#4546
Diffstat (limited to 'debian/changelog')
0 files changed, 0 insertions, 0 deletions