aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-17 15:51:39 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:20:45 +0100
commit1af73f6c81719c5db76d64619019500709b679d1 (patch)
tree26c5a09489cd355241598d651a0ef260d935ad52 /src/gprs_rlcmac.cpp
parentee7a535608e2bbb510842ff34d0c7d27fde30edd (diff)
bts: Remove global state from gprs_rlcmac_add_paging
Diffstat (limited to 'src/gprs_rlcmac.cpp')
-rw-r--r--src/gprs_rlcmac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs_rlcmac.cpp b/src/gprs_rlcmac.cpp
index 77b130b2..2de2dda5 100644
--- a/src/gprs_rlcmac.cpp
+++ b/src/gprs_rlcmac.cpp
@@ -278,9 +278,9 @@ int gprs_rlcmac_rcv_block(struct gprs_rlcmac_bts *bts,
}
/* add paging to paging queue(s) */
-int gprs_rlcmac_add_paging(uint8_t chan_needed, uint8_t *identity_lv)
+int gprs_rlcmac_add_paging(struct gprs_rlcmac_bts *bts,
+ uint8_t chan_needed, uint8_t *identity_lv)
{
- struct gprs_rlcmac_bts *bts = gprs_rlcmac_bts;
uint8_t l, trx, ts, any_tbf = 0;
struct gprs_rlcmac_tbf *tbf;
struct gprs_rlcmac_paging *pag;