aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-02-09 15:32:38 +0100
committerosmith <osmith@sysmocom.de>2023-02-28 11:06:47 +0000
commit0e552cc9c163c320a38732209c014b41577247e8 (patch)
tree1c8a80ffe048c0d4f86e3f43978360ebac3880ed
parent3632ffe65a081c841912b9020035257102866c2e (diff)
Cosmetic: fix various typos
-rw-r--r--src/osmo-bsc/assignment_fsm.c2
-rw-r--r--src/osmo-bsc/codec_pref.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bsc/assignment_fsm.c b/src/osmo-bsc/assignment_fsm.c
index e2213d4c4..d382f103e 100644
--- a/src/osmo-bsc/assignment_fsm.c
+++ b/src/osmo-bsc/assignment_fsm.c
@@ -389,7 +389,7 @@ static int check_requires_voice(bool *requires_voice, enum gsm48_chan_mode chan_
return 0;
}
-/* Check if the incoming assignment requests requires a voice stream or not,
+/* Check if the incoming assignment request requires a voice stream or not,
* we will look at the preferred and the alternate channel mode and also make
* sure that both are consistent. */
static int check_requires_voice_stream(struct gsm_subscriber_connection *conn)
diff --git a/src/osmo-bsc/codec_pref.c b/src/osmo-bsc/codec_pref.c
index 9b4b37f8d..3824e1461 100644
--- a/src/osmo-bsc/codec_pref.c
+++ b/src/osmo-bsc/codec_pref.c
@@ -376,7 +376,7 @@ int match_codec_pref(struct channel_mode_and_rate *ch_mode_rate,
break;
}
- /* Exit without result, in case no match can be deteched */
+ /* Exit without result, in case no match can be detected */
if (!match) {
ch_mode_rate->chan_mode = GSM48_CMODE_SIGN;
ch_mode_rate->chan_rate = CH_RATE_SDCCH;