aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tbf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 3e190b42..50940c83 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -323,7 +323,7 @@ int gprs_rlcmac_tbf::update()
if (rc < 0) {
LOGPTBF(this, LOGL_ERROR, "No resource after update???\n");
bts_do_rate_ctr_inc(bts, CTR_TBF_ALLOC_FAIL);
- return -rc;
+ return rc;
}
if (is_egprs_enabled()) {