diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-27 10:38:31 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-30 21:24:12 +0100 |
commit | 90b87ea5e6bf78b59e25e55a774b25a375738fae (patch) | |
tree | 5808442150fff00355fa75f46c926787f25437e3 /src/gprs_rlcmac_sched.cpp | |
parent | 180def907b36c8c4178c8a410485903127619164 (diff) |
misc: Fix typo.. resource in english only has one 's'
Diffstat (limited to 'src/gprs_rlcmac_sched.cpp')
-rw-r--r-- | src/gprs_rlcmac_sched.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp index b411e2ff..0a290c45 100644 --- a/src/gprs_rlcmac_sched.cpp +++ b/src/gprs_rlcmac_sched.cpp @@ -78,7 +78,7 @@ uint8_t sched_select_uplink(uint8_t trx, uint8_t ts, uint32_t fn, uint8_t usf = 0x07; uint8_t i, tfi; - /* select uplink ressource */ + /* select uplink resource */ for (i = 0, tfi = pdch->next_ul_tfi; i < 32; i++, tfi = (tfi + 1) & 31) { tbf = pdch->ul_tbf[tfi]; @@ -96,9 +96,9 @@ uint8_t sched_select_uplink(uint8_t trx, uint8_t ts, uint32_t fn, usf = tbf->dir.ul.usf[ts]; LOGP(DRLCMACSCHED, LOGL_DEBUG, "Received RTS for PDCH: TRX=%d " "TS=%d FN=%d block_nr=%d scheduling USF=%d for " - "required uplink ressource of UL TBF=%d\n", trx, ts, fn, + "required uplink resource of UL TBF=%d\n", trx, ts, fn, block_nr, usf, tfi); - /* next TBF to handle ressource is the next one */ + /* next TBF to handle resource is the next one */ pdch->next_ul_tfi = (tfi + 1) & 31; break; } @@ -158,7 +158,7 @@ static struct msgb *sched_select_downlink(struct gprs_rlcmac_bts *bts, struct gprs_rlcmac_tbf *tbf = NULL; uint8_t i, tfi; - /* select downlink ressource */ + /* select downlink resource */ for (i = 0, tfi = pdch->next_dl_tfi; i < 32; i++, tfi = (tfi + 1) & 31) { tbf = pdch->dl_tbf[tfi]; @@ -179,7 +179,7 @@ static struct msgb *sched_select_downlink(struct gprs_rlcmac_bts *bts, LOGP(DRLCMACSCHED, LOGL_DEBUG, "Scheduling data message at " "RTS for DL TBF=%d (TRX=%d, TS=%d)\n", tfi, trx, ts); - /* next TBF to handle ressource is the next one */ + /* next TBF to handle resource is the next one */ pdch->next_dl_tfi = (tfi + 1) & 31; /* generate DL data block */ msg = tbf->create_dl_acked_block(fn, ts); @@ -236,7 +236,7 @@ int gprs_rlcmac_rcv_rts_block(struct gprs_rlcmac_bts *bts, poll_fn = sched_poll(bts, trx, ts, fn, block_nr, &poll_tbf, &ul_ass_tbf, &dl_ass_tbf, &ul_ack_tbf); - /* check uplink ressource for polling */ + /* check uplink resource for polling */ if (poll_tbf) LOGP(DRLCMACSCHED, LOGL_DEBUG, "Received RTS for PDCH: TRX=%d " "TS=%d FN=%d block_nr=%d scheduling free USF for " @@ -252,7 +252,7 @@ int gprs_rlcmac_rcv_rts_block(struct gprs_rlcmac_bts *bts, "single block allocation at FN=%d\n", trx, ts, fn, block_nr, sba_fn); /* use free USF */ - /* else, we search for uplink ressource */ + /* else, we search for uplink resource */ else usf = sched_select_uplink(trx, ts, fn, block_nr, pdch); |