aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-02-25 18:51:15 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-02-25 18:51:15 +0100
commit6ea3b2832130815808c530491aaa0f06219a02ae (patch)
treeb3f894266c627d0ef1b7da0ee66669482846836b /src
parenteba074e081507fbf11dc1ea916a4e67afacd461a (diff)
cosmetic: Fix some typos with codespell
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bts-litecell15/misc/lc15bts_swd.c2
-rw-r--r--src/osmo-bts-oc2g/misc/oc2gbts_swd.c2
-rw-r--r--src/osmo-bts-trx/scheduler_trx.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/osmo-bts-litecell15/misc/lc15bts_swd.c b/src/osmo-bts-litecell15/misc/lc15bts_swd.c
index 59c7b616..eac64d66 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_swd.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_swd.c
@@ -161,7 +161,7 @@ int lc15bts_swd_init(struct lc15bts_mgr_instance *mgr, int swd_num_events)
the value must be in the range of [0,'swd_num_events'[ (see lc15bts_swd_init).
For example, if 'swd_num_events' was 64, 'swd_event' events are numbered 0 to 63.
WARNING: if this function can be used from multiple threads at the same time,
- it must be protected with a kind of mutex to avoid loosing event notification.
+ it must be protected with a kind of mutex to avoid losing event notification.
*/
int lc15bts_swd_event(struct lc15bts_mgr_instance *mgr, enum mgr_swd_events swd_event)
{
diff --git a/src/osmo-bts-oc2g/misc/oc2gbts_swd.c b/src/osmo-bts-oc2g/misc/oc2gbts_swd.c
index 59b795ac..1ccef5b9 100644
--- a/src/osmo-bts-oc2g/misc/oc2gbts_swd.c
+++ b/src/osmo-bts-oc2g/misc/oc2gbts_swd.c
@@ -161,7 +161,7 @@ int oc2gbts_swd_init(struct oc2gbts_mgr_instance *mgr, int swd_num_events)
the value must be in the range of [0,'swd_num_events'[ (see oc2gbts_swd_init).
For example, if 'swd_num_events' was 64, 'swd_event' events are numbered 0 to 63.
WARNING: if this function can be used from multiple threads at the same time,
- it must be protected with a kind of mutex to avoid loosing event notification.
+ it must be protected with a kind of mutex to avoid losing event notification.
*/
int oc2gbts_swd_event(struct oc2gbts_mgr_instance *mgr, enum mgr_swd_events swd_event)
{
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index 5abb73b0..d703f7f1 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -956,7 +956,7 @@ int rx_data_fn(struct l1sched_trx *l1t, enum trx_chan_type chan,
}
/* Copy burst to buffer of 4 bursts. If the burst indication contains
- * no data, ensure that the buffer does not stay uninitalized */
+ * no data, ensure that the buffer does not stay uninitialized */
burst = *bursts_p + bid * 116;
if (bi->burst_len > 0) {
memcpy(burst, bi->burst + 3, 58);