osmo-bts/src
Max 36fa0bd079 Fix race condition in attribute reporting
Previously it could be possible that the attribute request comes from
BSC before the TRX is properly initialized which would lead to SIGABRT
caused by OSMO_ASSERT() in PHY instantiation. Workaround this by
explicitly checking for TRX availability before handling TRX-specific
attributes.

This only happens with osmo-bts-trx and is hard to reproduce. Ideal fix
would be to defer attribute response until we have TRX connected but
that would make corresponding code more complex because we'll need to
save the attribute request and properly hook response routine into TRX
connection handler. Alternatively we can postpone osmo-bts-trx
connection to BSC until TRX is available: it's not very useful without
it anyway.

Change-Id: Id36885e507c4a3203b5662c0fde12c5206174d82
Fixes: OS#2560
2017-10-23 18:12:45 +00:00
..
common Fix race condition in attribute reporting 2017-10-23 18:12:45 +00:00
osmo-bts-litecell15 Remove build dependency on legacy OpenBSC 2017-10-08 18:40:09 +02:00
osmo-bts-octphy Remove build dependency on legacy OpenBSC 2017-10-08 18:40:09 +02:00
osmo-bts-sysmo sysmo: don't override clock source with defaults 2017-10-11 18:06:55 +02:00
osmo-bts-trx osmo-bts-trx: vty: various fixes of 'write file' and doc 2017-10-18 14:02:30 +00:00
osmo-bts-virtual Remove build dependency on legacy OpenBSC 2017-10-08 18:40:09 +02:00
Makefile.am VIRT-PHY: Initial check-in of a new virtual BTS 2017-07-13 19:34:17 +00:00