summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-02 20:18:11 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-02 20:23:34 +0100
commit667e83d71eebba70817ab035ef207a52785bc129 (patch)
treee55d35f34e6a1e2094966a442f60b64ae385bba7 /src
parentd7b0577d7d30139491b5cfeffb467440f9e88818 (diff)
fix some typos
Sponsored-by: On-Waves ehi
Diffstat (limited to 'src')
-rw-r--r--src/gsm/tlv_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsm/tlv_parser.c b/src/gsm/tlv_parser.c
index 5eee53a6..19d0c84d 100644
--- a/src/gsm/tlv_parser.c
+++ b/src/gsm/tlv_parser.c
@@ -70,7 +70,7 @@ int tlv_parse_one(uint8_t *o_tag, uint16_t *o_len, const uint8_t **o_val,
return 1;
}
- /* FIXME: use tables for knwon IEI */
+ /* FIXME: use tables for known IEI */
switch (def->def[tag].type) {
case TLV_TYPE_T:
/* GSM TS 04.07 11.2.4: Type 1 TV or Type 2 T */
@@ -143,7 +143,7 @@ tlv: /* GSM TS 04.07 11.2.4: Type 4 TLV */
return len;
}
-/*! \brief Parse an entire buffer of TLV encoded Information Eleemnts
+/*! \brief Parse an entire buffer of TLV encoded Information Elements
* \param[out] dec caller-allocated pointer to \ref tlv_parsed
* \param[in] def structure defining the valid TLV tags / configurations
* \param[in] buf the input data buffer to be parsed