aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-27 10:38:31 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:12 +0100
commit90b87ea5e6bf78b59e25e55a774b25a375738fae (patch)
tree5808442150fff00355fa75f46c926787f25437e3 /src/tbf.cpp
parent180def907b36c8c4178c8a410485903127619164 (diff)
misc: Fix typo.. resource in english only has one 's'
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r--src/tbf.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 1fa7c6e3..0a703a18 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -190,7 +190,7 @@ static int tbf_new_dl_assignment(struct gprs_rlcmac_bts *bts,
/* set number of downlink slots according to multislot class */
tbf = tbf_alloc(bts, tbf, GPRS_RLCMAC_DL_TBF, tfi, trx, ms_class, ss);
if (!tbf) {
- LOGP(DRLCMAC, LOGL_NOTICE, "No PDCH ressource\n");
+ LOGP(DRLCMAC, LOGL_NOTICE, "No PDCH resource\n");
/* FIXME: send reject */
return -EBUSY;
}
@@ -252,14 +252,14 @@ struct gprs_rlcmac_tbf *tbf_alloc_ul(struct gprs_rlcmac_bts *bts,
/* create new TBF, use sme TRX as DL TBF */
tfi = bts->bts->tfi_find_free(GPRS_RLCMAC_UL_TBF, &trx, use_trx);
if (tfi < 0) {
- LOGP(DRLCMAC, LOGL_NOTICE, "No PDCH ressource\n");
+ LOGP(DRLCMAC, LOGL_NOTICE, "No PDCH resource\n");
/* FIXME: send reject */
return NULL;
}
/* use multislot class of downlink TBF */
tbf = tbf_alloc(bts, dl_tbf, GPRS_RLCMAC_UL_TBF, tfi, trx, ms_class, 0);
if (!tbf) {
- LOGP(DRLCMAC, LOGL_NOTICE, "No PDCH ressource\n");
+ LOGP(DRLCMAC, LOGL_NOTICE, "No PDCH resource\n");
/* FIXME: send reject */
return NULL;
}
@@ -360,9 +360,9 @@ int gprs_rlcmac_tbf::update()
tbf_unlink_pdch(this);
rc = bts_data->alloc_algorithm(bts_data, ul_tbf, this, bts_data->alloc_algorithm_curst, 0);
- /* if no ressource */
+ /* if no resource */
if (rc < 0) {
- LOGP(DRLCMAC, LOGL_ERROR, "No ressource after update???\n");
+ LOGP(DRLCMAC, LOGL_ERROR, "No resource after update???\n");
return -rc;
}
@@ -590,7 +590,7 @@ next_diagram:
/* select algorithm */
rc = bts->alloc_algorithm(bts, old_tbf, tbf, bts->alloc_algorithm_curst,
single_slot);
- /* if no ressource */
+ /* if no resource */
if (rc < 0) {
talloc_free(tbf);
return NULL;
@@ -598,7 +598,7 @@ next_diagram:
/* assign control ts */
tbf->control_ts = 0xff;
rc = tbf_assign_control_ts(tbf);
- /* if no ressource */
+ /* if no resource */
if (rc < 0) {
talloc_free(tbf);
return NULL;