aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-19 18:33:52 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:10 +0100
commit9446485e3d5943b735b733bfbbbfcf06a0a36274 (patch)
tree7fa7a07678db02f8bbb442d5cea04edc849e97bb /src
parentf0984897a5fc0a7a75aae48a52c8dc8f59a40867 (diff)
pdch: Only say we have paged when this has actually been done
Diffstat (limited to 'src')
-rw-r--r--src/bts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index b63a13d..2b7a93c 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -127,7 +127,6 @@ int BTS::add_paging(uint8_t chan_needed, uint8_t *identity_lv)
for (trx = 0; trx < 8; trx++) {
if (slot_mask[trx] == 0)
continue;
- any_tbf = 1;
for (ts = 0; ts < 8; ts++) {
if ((slot_mask[trx] & (1 << ts))) {
/* schedule */
@@ -141,6 +140,7 @@ int BTS::add_paging(uint8_t chan_needed, uint8_t *identity_lv)
m_bts.trx[trx].pdch[ts].add_paging(pag);
LOGP(DRLCMAC, LOGL_INFO, "Paging on PACCH of "
"TRX=%d TS=%d\n", trx, ts);
+ any_tbf = 1;
}
}
}