aboutsummaryrefslogtreecommitdiffstats
path: root/src/libvlr/vlr_sgs_fsm.c
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2019-11-14 17:49:08 +0100
committerlaforge <laforge@osmocom.org>2019-11-19 01:04:34 +0000
commit3f07daceef8121d4d33aef8d831bf1df1966ed08 (patch)
tree94b5449d49dbd3cc43006acbb75e389232dbd1cf /src/libvlr/vlr_sgs_fsm.c
parent8a50cfbc4e2eff215014c91b6ee7ad7f65d66101 (diff)
Fix some typos
Fix typos and common misspellings in code comments and log messages. Change-Id: Ie66b89065f2100c1d2125ce5a6c9b1d58df7c8ad
Diffstat (limited to 'src/libvlr/vlr_sgs_fsm.c')
-rw-r--r--src/libvlr/vlr_sgs_fsm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libvlr/vlr_sgs_fsm.c b/src/libvlr/vlr_sgs_fsm.c
index 49ad09a59..a131b7ea0 100644
--- a/src/libvlr/vlr_sgs_fsm.c
+++ b/src/libvlr/vlr_sgs_fsm.c
@@ -54,7 +54,7 @@ static void to_null(struct osmo_fsm_inst *fi)
struct vlr_subscr *vsub = fi->priv;
osmo_fsm_inst_state_chg(fi, SGS_UE_ST_NULL, 0, 0);
- /* Note: This is only relevent for cases where we are in the middle
+ /* Note: This is only relevant for cases where we are in the middle
* of an TMSI reallocation procedure. Should a failure of some sort
* put us to NULL state, we have to free the pending TMSI */
vsub->tmsi_new = GSM_RESERVED_TMSI;
@@ -156,7 +156,7 @@ static void sgs_ue_fsm_lau_present(struct osmo_fsm_inst *fi, uint32_t event, voi
/* Check if we expect a TMSI REALLOCATION COMPLETE message from the MME
* by checking the tmsi_new flag. If this flag is not GSM_RESERVED_TMSI
* we know that we have a TMSI pending and need to wait for the MME
- * to acknowlege first */
+ * to acknowledge first */
if (vsub->tmsi_new != GSM_RESERVED_TMSI) {
osmo_fsm_inst_state_chg(fi, SGS_UE_ST_ASSOCIATED, vsub->sgs.cfg.timer[SGS_STATE_TS6_2],
SGS_STATE_TS6_2);
@@ -355,7 +355,7 @@ static struct osmo_fsm sgs_ue_fsm = {
.event_names = sgs_ue_fsm_event_names,
};
-/*! Initalize/Register SGs FSM in osmo-fsm subsystem */
+/*! Initialize/Register SGs FSM in osmo-fsm subsystem */
void vlr_sgs_fsm_init(void)
{
if (osmo_fsm_find_by_name(sgs_ue_fsm.name) != &sgs_ue_fsm)