aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2011-10-17 14:04:55 +0200
committerSylvain Munaut <tnt@246tNt.com>2011-10-18 21:51:02 +0200
commitc9519466918157245f8aae93c5be11a7c28b65a3 (patch)
treea351b58d7a189101c84b48dd4b89301b2e6ce5dd /openbsc/include
parent67c0c7f8aa9b6e4e49290a81d3e796651b60fede (diff)
libbsc/nokia_site: Fix reset procedure and add option to skip it.
do_reset was not initialized anywhere anymore, so the reset was never triggered. It's now fixed and we add an option to skip it in the config so that when in production, you can restart without config changes quickly. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index ceb53983d..f7a85a38b 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -511,7 +511,8 @@ struct gsm_bts {
struct {
uint8_t bts_type;
int configured:1,
- do_reset:1,
+ skip_reset:1,
+ did_reset:1,
wait_reset:1;
struct osmo_timer_list reset_timer;
} nokia;