aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmo-bts-trx/l1_if.c10
-rw-r--r--src/osmo-bts-trx/main.c3
2 files changed, 10 insertions, 3 deletions
diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c
index 110241d7..0575a429 100644
--- a/src/osmo-bts-trx/l1_if.c
+++ b/src/osmo-bts-trx/l1_if.c
@@ -34,6 +34,7 @@
#include <osmo-bts/l1sap.h>
#include <osmo-bts/bts_model.h>
#include <osmo-bts/amr.h>
+#include <osmo-bts/abis.h>
#include "l1_if.h"
#include "trx_if.h"
@@ -279,6 +280,15 @@ int bts_model_trx_close(struct gsm_bts_trx *trx)
return 0;
}
+/* on RSL failure, deactivate transceiver */
+void bts_model_abis_close(struct gsm_bts *bts)
+{
+ struct gsm_bts_trx *trx;
+
+ llist_for_each_entry(trx, &bts->trx_list, list)
+ bts_model_trx_close(trx);
+}
+
/* set bts attributes */
static uint8_t trx_set_bts(struct gsm_bts *bts, struct tlv_parsed *new_attr)
{
diff --git a/src/osmo-bts-trx/main.c b/src/osmo-bts-trx/main.c
index 04152d34..8f917369 100644
--- a/src/osmo-bts-trx/main.c
+++ b/src/osmo-bts-trx/main.c
@@ -401,6 +401,3 @@ int main(int argc, char **argv)
return 0;
}
-void bts_model_abis_close(struct gsm_bts *bts)
-{
-}