diff options
author | Martin Hauke <mardnh@gmx.de> | 2019-11-14 17:49:08 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2019-11-19 01:04:34 +0000 |
commit | 3f07daceef8121d4d33aef8d831bf1df1966ed08 (patch) | |
tree | 94b5449d49dbd3cc43006acbb75e389232dbd1cf /src/libvlr | |
parent | 8a50cfbc4e2eff215014c91b6ee7ad7f65d66101 (diff) |
Fix some typos
Fix typos and common misspellings in code comments and log messages.
Change-Id: Ie66b89065f2100c1d2125ce5a6c9b1d58df7c8ad
Diffstat (limited to 'src/libvlr')
-rw-r--r-- | src/libvlr/vlr.c | 6 | ||||
-rw-r--r-- | src/libvlr/vlr_auth_fsm.c | 2 | ||||
-rw-r--r-- | src/libvlr/vlr_lu_fsm.c | 2 | ||||
-rw-r--r-- | src/libvlr/vlr_sgs.c | 14 | ||||
-rw-r--r-- | src/libvlr/vlr_sgs_fsm.c | 6 |
5 files changed, 15 insertions, 15 deletions
diff --git a/src/libvlr/vlr.c b/src/libvlr/vlr.c index ca6f90de7..0f9c99198 100644 --- a/src/libvlr/vlr.c +++ b/src/libvlr/vlr.c @@ -360,7 +360,7 @@ int vlr_subscr_alloc_tmsi(struct vlr_subscr *vsub) } /* Find subscriber by IMSI, or create new subscriber if not found. - * \param[in] vlr VLR instace. + * \param[in] vlr VLR instance. * \param[in] imsi IMSI string. * \param[out] created if non-NULL, returns whether a new entry was created. */ struct vlr_subscr *_vlr_subscr_find_or_create_by_imsi(struct vlr_instance *vlr, @@ -390,7 +390,7 @@ struct vlr_subscr *_vlr_subscr_find_or_create_by_imsi(struct vlr_instance *vlr, } /* Find subscriber by TMSI, or create new subscriber if not found. - * \param[in] vlr VLR instace. + * \param[in] vlr VLR instance. * \param[in] tmsi TMSI. * \param[out] created if non-NULL, returns whether a new entry was created. */ struct vlr_subscr *_vlr_subscr_find_or_create_by_tmsi(struct vlr_instance *vlr, @@ -730,7 +730,7 @@ void vlr_subscr_update_tuples(struct vlr_subscr *vsub, if (key_seq >= ARRAY_SIZE(vsub->auth_tuples)) { LOGVSUBP(LOGL_NOTICE, vsub, - "Skipping auth tuple wih invalid cksn %zu\n", + "Skipping auth tuple with invalid cksn %zu\n", key_seq); continue; } diff --git a/src/libvlr/vlr_auth_fsm.c b/src/libvlr/vlr_auth_fsm.c index 036c3d723..dcdf58468 100644 --- a/src/libvlr/vlr_auth_fsm.c +++ b/src/libvlr/vlr_auth_fsm.c @@ -1,4 +1,4 @@ -/* Osmocom Visitor Location Register (VLR) Autentication FSM */ +/* Osmocom Visitor Location Register (VLR) Authentication FSM */ /* (C) 2016 by Harald Welte <laforge@gnumonks.org> * diff --git a/src/libvlr/vlr_lu_fsm.c b/src/libvlr/vlr_lu_fsm.c index 2db571134..e4d40f0f0 100644 --- a/src/libvlr/vlr_lu_fsm.c +++ b/src/libvlr/vlr_lu_fsm.c @@ -688,7 +688,7 @@ struct lu_fsm_priv { static bool lai_in_this_vlr(struct vlr_instance *vlr, const struct osmo_location_area_id *lai) { - /* TODO: VLR needs to keep a locally configued list of LAIs */ + /* TODO: VLR needs to keep a locally configured list of LAIs */ return true; } diff --git a/src/libvlr/vlr_sgs.c b/src/libvlr/vlr_sgs.c index 452de2cca..269dda64b 100644 --- a/src/libvlr/vlr_sgs.c +++ b/src/libvlr/vlr_sgs.c @@ -44,7 +44,7 @@ const struct value_string sgs_state_counter_names[] = { }; /* Reset all SGs-Associations back to zero. - * \param[in] vlr VLR instace. */ + * \param[in] vlr VLR instance. */ void vlr_sgs_reset(struct vlr_instance *vlr) { struct vlr_subscr *vsub; @@ -59,11 +59,11 @@ void vlr_sgs_reset(struct vlr_instance *vlr) } /*! Perform an SGs location update. - * \param[in] vlr VLR instace. + * \param[in] vlr VLR instance. * \param[in] cfg SGs interface configuration parameters. - * \param[in] response_cb calback function that is called when LU is done. - * \param[in] paging_cb calback function that is called when LU needs to page. - * \param[in] mminfo_cb calback function that is called to provide MM info to the UE. + * \param[in] response_cb callback function that is called when LU is done. + * \param[in] paging_cb callback function that is called when LU needs to page. + * \param[in] mminfo_cb callback function that is called to provide MM info to the UE. * \param[in] mme_name fqdn of the requesting MME (mme-name). * \param[in] type location update type (normal or IMSI attach). * \param[in] imsi mobile identity (IMSI). @@ -299,7 +299,7 @@ static void Ts5_timeout_cb(void *arg) { struct vlr_subscr *vsub = arg; - /* 3GPP TS 29.118 does not specify a specif action that has to happen + /* 3GPP TS 29.118 does not specify a specific action that has to happen * in case Ts5 times out. The timeout just indicates that the paging * failed. Other actions may check the status of Ts5 to see if a paging * is still ongoing or not. */ @@ -327,7 +327,7 @@ void vlr_sgs_pag(struct vlr_subscr *vsub, enum sgsap_service_ind serv_ind) /* Note: 3GPP TS 29.118, chapter 4.2.2 mentions paging in the FSM * diagram, but paging never causes a state transition except when * an explicit failure is indicated (MME actively rejects paging). - * Apparantly it is also possible that an LU happens while the paging + * Apparently it is also possible that an LU happens while the paging * is still ongoing and Ts5 is running. (chapter 5.1.2.3). This means * that the paging procedure is intended to run in parallel to the * SGs FSM and given that the benaviour around Ts5 must be implemented 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) |