aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2019-10-13 19:13:21 +0200
committerlaforge <laforge@osmocom.org>2019-10-17 08:05:35 +0000
commitfc5f20a713fd7e44e23db1dc61d9ebe7a1fd03b8 (patch)
tree9b0a4af39e088489c5dfab16f72adc6fcf372906 /src/osmo-bts-sysmo
parentb378fccef11b41009f224ded1f42bdbf254eee6d (diff)
Rename variable: CALIB_SUCESS -> CALIB_SUCCESS
Correct the name of this variable. Change-Id: I75cb6404d772b79933d1d9d694abf8eff1fad020
Diffstat (limited to 'src/osmo-bts-sysmo')
-rw-r--r--src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c b/src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c
index a0ba6493..d769ce7d 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c
@@ -54,7 +54,7 @@ enum calib_result {
CALIB_FAIL_START,
CALIB_FAIL_GPS,
CALIB_FAIL_CTRL,
- CALIB_SUCESS,
+ CALIB_SUCCESS,
};
static inline int compat_gps_read(struct gps_data_t *data)
@@ -271,7 +271,7 @@ static void calib_state_reset(struct sysmobts_mgr_instance *mgr, int outcome)
* and in case of a failure in some minutes.
*/
int timeout = 2 * 60 * 60;
- if (outcome != CALIB_SUCESS)
+ if (outcome != CALIB_SUCCESS)
timeout = 5 * 60;
mgr->calib.calib_timeout.data = mgr;
@@ -390,7 +390,7 @@ static void handle_ctrl_set_cor(
LOGP(DCALIB, LOGL_NOTICE,
"Calibration process completed\n");
- calib_state_reset(mgr, CALIB_SUCESS);
+ calib_state_reset(mgr, CALIB_SUCCESS);
}
static void handle_ctrl(struct sysmobts_mgr_instance *mgr, struct msgb *msg)