diff options
author | Max <msuraev@sysmocom.de> | 2016-06-16 12:36:20 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2016-06-16 12:43:44 +0200 |
commit | 7cc3c3156ef23500612724f8a38c3db95c05702b (patch) | |
tree | e992b0514dccbb8bd84c9b6913e7e1bec38ded22 /include | |
parent | 58e4e18206501c3bffa65f0b876bbc5ebe175d6e (diff) |
Fix OML activation
Previously software activation could have been reported multiple times
which broke proper BTS init. Introduce guard variable to ensure
reporting happens only once.
Note: this is just minimal workaround - ideally proper OML state machine
should be implemented.
Change-Id: Ifffbdb756bc5d2864f985c01a3299b839c4de7af
Related: OS#1648
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/phy_link.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmo-bts/phy_link.h b/include/osmo-bts/phy_link.h index b3db4ce5..82e73c8c 100644 --- a/include/osmo-bts/phy_link.h +++ b/include/osmo-bts/phy_link.h @@ -1,6 +1,7 @@ #pragma once #include <stdint.h> +#include <stdbool.h> #include <osmocom/core/linuxlist.h> #include <osmo-bts/scheduler.h> @@ -94,6 +95,7 @@ struct phy_instance { } sysmobts; struct { struct trx_l1h *hdl; + bool sw_act_reported; } osmotrx; struct { /* logical transceiver number within one PHY */ |