From c9519466918157245f8aae93c5be11a7c28b65a3 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Mon, 17 Oct 2011 14:04:55 +0200 Subject: 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 --- openbsc/include/openbsc/gsm_data_shared.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbsc/include/openbsc') 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; -- cgit v1.2.3