commit | bcafdf8d902baf831642de5b21ebb91ad299a509 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Sat Aug 24 21:13:31 2013 +0200 |
committer | Ivan Kluchnikov <kluchnikovi@gmail.com> | Fri Oct 18 15:17:13 2013 +0400 |
tree | e0ba78e1253aff7a3a74510d6ca9874f934a4c2d | |
parent | 443c822f77dd8ef08d7524a093670ca875340d11 [diff] [blame] |
tbf: Warn about copy and paste between different tbf alloc routines These need to be re-factored to use a common allocation routine.
diff --git a/src/tbf.cpp b/src/tbf.cpp index 8dad6bc..21b58ac 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp
@@ -141,6 +141,7 @@ } // Create new TBF (any TRX) +#warning "Copy and paste with alloc_ul_tbf" tfi = tfi_find_free(bts, GPRS_RLCMAC_DL_TBF, &trx, use_trx); if (tfi < 0) { LOGP(DRLCMAC, LOGL_NOTICE, "No PDCH resource\n");