aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-06-04 18:26:00 +0700
committerHarald Welte <laforge@gnumonks.org>2017-06-15 14:40:21 +0000
commit0227e4d04caa62698a16894a2883bbac38dff6cc (patch)
treed6ef013d84d688f24d15cec01033036eae5f7faf /src
parent61d36212b15aca972443a169c6a893590c9709d0 (diff)
cosmetic: fix some typos
Diffstat (limited to 'src')
-rw-r--r--src/common/scheduler.c6
-rw-r--r--src/osmo-bts-trx/scheduler_trx.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/common/scheduler.c b/src/common/scheduler.c
index 27b7630b..121475a9 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -105,7 +105,7 @@ const ubit_t _sched_egprs_tsc[8][78] = {
0,1,0,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0,0,1,1,1,1,1,1,1, },
};
-/*! \brief SCH trainign sequence (TS 05.02 Chapter 5.2.5) */
+/*! \brief SCH training sequence (TS 05.02 Chapter 5.2.5) */
const ubit_t _sched_sch_train[64] = {
1,0,1,1,1,0,0,1,0,1,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,1,
0,0,1,0,1,1,0,1,0,1,0,0,0,1,0,1,0,1,1,1,0,1,1,0,0,0,0,1,1,0,1,1,
@@ -584,7 +584,7 @@ struct trx_sched_frame {
enum trx_chan_type dl_chan;
/*! \brief downlink block ID */
uint8_t dl_bid;
- /*! \breff uplink TRX channel type */
+ /*! \brief uplink TRX channel type */
enum trx_chan_type ul_chan;
/*! \brief uplink block ID */
uint8_t ul_bid;
@@ -1307,7 +1307,7 @@ struct trx_sched_multiframe {
uint8_t period;
/*! \brief pointer to scheduling structure */
const struct trx_sched_frame *frames;
- /*! \brife human-readable name */
+ /*! \brief human-readable name */
const char *name;
};
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index 9ec95923..8531d5cd 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -570,7 +570,7 @@ inval_mode2:
}
if (msgb_l2len(msg_tch) != len) {
LOGP(DL1C, LOGL_ERROR, "Cannot send payload with "
- "invalid length! (expecing %d, received %d)\n",
+ "invalid length! (expecting %d, received %d)\n",
len, msgb_l2len(msg_tch));
free_bad_msg:
/* free message */
@@ -1354,7 +1354,7 @@ bfi:
/* TCH or BFI */
/* Note on FN 19 or 20: If we received the last burst of a frame,
* it actually starts at FN 8 or 9. A burst starting there, overlaps
- * with the slot 12, so an extra FN must be substracted to get correct
+ * with the slot 12, so an extra FN must be subtracted to get correct
* start of frame.
*/
return _sched_compose_tch_ind(l1t, tn,