aboutsummaryrefslogtreecommitdiffstats
path: root/library/RLCMAC_EncDec.cc
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-04-30 19:58:15 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-04-30 19:58:15 +0200
commitecaeb896488da0b16b2e55df9c4e1ac3a46f3171 (patch)
tree4ed62cdb8ade56b256af5ab23e5509a229db7716 /library/RLCMAC_EncDec.cc
parente8d7d16f1325a3ae40085d185730b65d86e14a27 (diff)
cosmetic: RLCMAC_EncDEc.cc: fix typos in comments
Diffstat (limited to 'library/RLCMAC_EncDec.cc')
-rw-r--r--library/RLCMAC_EncDec.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/RLCMAC_EncDec.cc b/library/RLCMAC_EncDec.cc
index 777815f2..f4735e9f 100644
--- a/library/RLCMAC_EncDec.cc
+++ b/library/RLCMAC_EncDec.cc
@@ -279,7 +279,7 @@ setup_rlc_mac_priv(CodingScheme::enum_type mcs, EgprsHeaderType::enum_type hdrty
}
/* bit-shift the entire 'src' of length 'length_bytes' by 'offset_bits'
- * and store the reuslt to caller-allocated 'buffer'. The shifting is
+ * and store the result to caller-allocated 'buffer'. The shifting is
* done lsb-first. */
static void clone_aligned_buffer_lsbf(unsigned int offset_bits, unsigned int length_bytes,
const uint8_t *src, uint8_t *buffer)
@@ -938,7 +938,7 @@ OCTETSTRING enc__RlcmacUlDataBlock(const RlcmacUlDataBlock& si)
int i;
if (!in.blocks().is_bound()) {
- /* we don't have nay blocks: Add length value (zero) */
+ /* we don't have any blocks: Add length value (zero) */
in.mac__hdr().e() = false; /* E=0: extension octet follows */
} else if (in.blocks().size_of() == 1 && in.blocks()[0].hdr() == OMIT_VALUE) {
/* If there's only a single block, and that block has no HDR value defined, */