aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/codec_pref.c
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2019-11-13 22:10:41 +0100
committerMartin Hauke <mardnh@gmx.de>2019-11-13 22:10:41 +0100
commita29affda9871f5d7212d19a6fa50544c2108ae49 (patch)
treecb787a2ab132f4af1952c6422464b7b0b545d991 /src/osmo-bsc/codec_pref.c
parent41eafec3f6ced5a389180629456d80d0a325d97c (diff)
Fix some typos
Fix typos and common misspellings in code comments and in the manual. Change-Id: I46fc9d424620c77ae9ccf78b58081bd303386d7c
Diffstat (limited to 'src/osmo-bsc/codec_pref.c')
-rw-r--r--src/osmo-bsc/codec_pref.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osmo-bsc/codec_pref.c b/src/osmo-bsc/codec_pref.c
index b27defcde..be442b542 100644
--- a/src/osmo-bsc/codec_pref.c
+++ b/src/osmo-bsc/codec_pref.c
@@ -189,7 +189,7 @@ static bool test_codec_support_bts(const struct gsm_bts *bts, uint8_t perm_spch)
bool rate_match = false;
/* Check if the BTS provides a physical channel that matches the
- * bandwith of the desired codec. */
+ * bandwidth of the desired codec. */
rc = full_rate_from_perm_spch(&full_rate, perm_spch);
if (rc < 0)
return false;
@@ -286,13 +286,13 @@ static int match_amr_s15_s0(struct channel_mode_and_rate *ch_mode_rate, const st
* However, only AoIP based networks will include a speech codec list
* into the ASSIGNMENT COMMAND. For non AoIP based networks, no speech
* codec (sc_match) will be available, so we will fully rely on the
- * local configuration for thoses cases. */
+ * local configuration for those cases. */
if (sc_match)
ch_mode_rate->s15_s0 = sc_match->cfg & amr_s15_s0_supported;
else
ch_mode_rate->s15_s0 = amr_s15_s0_supported;
- /* Prefer "Config-NB-Code = 1" (S1) over all other AMR rates setttings.
+ /* Prefer "Config-NB-Code = 1" (S1) over all other AMR rates settings.
* When S1 is set, the active set will automatically include 12.2k, 7.4k,
* 5.9k, 4.75k, in case of HR 12,2k is left out. */
if (ch_mode_rate->s15_s0 & GSM0808_SC_CFG_AMR_4_75_5_90_7_40_12_20) {