Change in osmo-bts[master]: osmo-bts-omldummy: fix: do not crash on OML connection drop/failure

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Fri Oct 2 23:40:50 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/20412 )


Change subject: osmo-bts-omldummy: fix: do not crash on OML connection drop/failure
......................................................................

osmo-bts-omldummy: fix: do not crash on OML connection drop/failure

This regression was introduced in 2ff4592ffc78649bb5c14a213a74569b43da255b.
There is simply no PHY in case of osmo-bts-omldummy.

Change-Id: I864ac3f15e06462d6ce808b3f2188c5c39a5aad2
Fixes: Ic00df9e7278d42bc10c1e1a1c0edde7e13199299
---
M src/osmo-bts-omldummy/bts_model.c
1 file changed, 0 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/12/20412/1

diff --git a/src/osmo-bts-omldummy/bts_model.c b/src/osmo-bts-omldummy/bts_model.c
index 311b640..79715cc 100644
--- a/src/osmo-bts-omldummy/bts_model.c
+++ b/src/osmo-bts-omldummy/bts_model.c
@@ -52,9 +52,6 @@
 
 void bts_model_trx_close(struct gsm_bts_trx *trx)
 {
-	struct phy_instance *pinst = trx_phy_instance(trx);
-	phy_link_state_set(pinst->phy_link, PHY_LINK_SHUTDOWN);
-
 	bts_model_trx_close_cb(trx, 0);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/20412
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I864ac3f15e06462d6ce808b3f2188c5c39a5aad2
Gerrit-Change-Number: 20412
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201002/17cdea44/attachment.htm>


More information about the gerrit-log mailing list