diff options
Diffstat (limited to 'src/common/phy_link.c')
-rw-r--r-- | src/common/phy_link.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/phy_link.c b/src/common/phy_link.c index 7743c222..5ad72ac7 100644 --- a/src/common/phy_link.c +++ b/src/common/phy_link.c @@ -118,6 +118,8 @@ struct phy_instance *phy_instance_create(struct phy_link *plink, int num) void phy_instance_link_to_trx(struct phy_instance *pinst, struct gsm_bts_trx *trx) { + /* There might already be an associated TRX */ + OSMO_ASSERT(pinst->trx == NULL) trx->pinst = pinst; pinst->trx = trx; } |