aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-07 14:46:12 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-08 01:38:57 +0100
commit7cdcdf2ddfa295a0d1eac52077f6375699821689 (patch)
tree806566b3bf506bad795c2c0243ff430e7756fdd5
parente27b4bc5994ae616add88ab2e78f5400c63b9f2d (diff)
comments: various tweaks and fixes
Mention 3GPP TS 23.008, whitespace, typos Change-Id: I8b996e8900e4846ff3d95189215ad3b5e97d1d2b
-rw-r--r--openbsc/include/openbsc/vlr.h6
-rw-r--r--openbsc/src/libmsc/gsm_04_08.c2
-rw-r--r--openbsc/src/libvlr/vlr_lu_fsm.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/openbsc/include/openbsc/vlr.h b/openbsc/include/openbsc/vlr.h
index 4617595df..d8b4f09b4 100644
--- a/openbsc/include/openbsc/vlr.h
+++ b/openbsc/include/openbsc/vlr.h
@@ -44,7 +44,7 @@ enum vlr_sub_auth_state {
enum vlr_lu_event {
VLR_ULA_E_UPDATE_LA, /* Initial trigger (LU from MS) */
VLR_ULA_E_SEND_ID_ACK, /* Result of Send-ID from PVLR */
- VLR_ULA_E_SEND_ID_NACK,/* Result of Send-ID from PVLR */
+ VLR_ULA_E_SEND_ID_NACK, /* Result of Send-ID from PVLR */
VLR_ULA_E_AUTH_RES, /* Result of auth procedure */
VLR_ULA_E_ID_IMSI, /* IMSI recieved from MS */
VLR_ULA_E_ID_IMEI, /* IMEI received from MS */
@@ -82,7 +82,7 @@ struct vlr_subscriber {
struct llist_head list;
struct vlr_instance *vlr;
- /* Data from HLR */
+ /* Data from HLR */ /* 3GPP TS 23.008 */
char imsi[GSM23003_IMSI_MAX_DIGITS+1]; /* 2.1.1.1 */
char msisdn[15+1]; /* 2.1.2 */
OSMO_LBUF_DECL(hlr, 16); /* 2.4.7 */
@@ -157,7 +157,7 @@ struct vlr_ops {
/* notify MSC/SGSN that the subscriber data in VLR has been updated */
void (*subscr_update)(struct vlr_subscriber *vsub);
- /* notify MSC/SGSN that the given subscriber has bene associated
+ /* notify MSC/SGSN that the given subscriber has been associated
* with this msc_conn_ref */
void (*subscr_assoc)(void *msc_conn_ref, struct vlr_subscriber *vsub);
};
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index 50a0530cc..376bc1170 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -3616,7 +3616,7 @@ static const struct vlr_ops msc_vlr_ops = {
};
/*
- * This will be ran by the linker when loading the DSO. We use it to
+ * This will be run by the linker when loading the DSO. We use it to
* do system initialization, e.g. registration of signal handlers.
*/
static __attribute__((constructor)) void on_dso_load_0408(void)
diff --git a/openbsc/src/libvlr/vlr_lu_fsm.c b/openbsc/src/libvlr/vlr_lu_fsm.c
index b3b93ff87..110851e7e 100644
--- a/openbsc/src/libvlr/vlr_lu_fsm.c
+++ b/openbsc/src/libvlr/vlr_lu_fsm.c
@@ -516,8 +516,8 @@ enum vlr_lu_state {
VLR_ULA_S_WAIT_PVLR, /* Waiting for ID from PVLR */
VLR_ULA_S_WAIT_AUTH, /* Waiting for Authentication */
VLR_ULA_S_WAIT_IMSI, /* Waiting for IMSI from MS */
- VLR_ULA_S_WAIT_HLR_UPD,/* Waiting for end of HLR update */
- VLR_ULA_S_WAIT_LU_COMPL, /* Waitig for LU complete */
+ VLR_ULA_S_WAIT_HLR_UPD, /* Waiting for end of HLR update */
+ VLR_ULA_S_WAIT_LU_COMPL,/* Waiting for LU complete */
VLR_ULA_S_WAIT_LU_COMPL_STANDALONE, /* Standalone VLR */
VLR_ULA_S_DONE
};