aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gprs_rlcmac.cpp4
-rw-r--r--src/gprs_rlcmac.h2
-rw-r--r--src/pcu_l1_if.cpp2
3 files changed, 4 insertions, 4 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;
diff --git a/src/gprs_rlcmac.h b/src/gprs_rlcmac.h
index 9f9f9ffa..333829fe 100644
--- a/src/gprs_rlcmac.h
+++ b/src/gprs_rlcmac.h
@@ -239,7 +239,7 @@ int gprs_rlcmac_rcv_rts_block(uint8_t trx, uint8_t ts, uint16_t arfcn,
int gprs_rlcmac_imm_ass_cnf(uint8_t *data, uint32_t fn);
-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_paging *gprs_rlcmac_dequeue_paging(
struct gprs_rlcmac_pdch *pdch);
diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp
index add1f4fa..29b2e936 100644
--- a/src/pcu_l1_if.cpp
+++ b/src/pcu_l1_if.cpp
@@ -551,7 +551,7 @@ static int pcu_rx_pag_req(struct gsm_pcu_if_pag_req *pag_req)
LOGP(DL1IF, LOGL_DEBUG, "Paging request received: chan_needed=%d "
"length=%d\n", pag_req->chan_needed, pag_req->identity_lv[0]);
- return gprs_rlcmac_add_paging(pag_req->chan_needed,
+ return gprs_rlcmac_add_paging(gprs_rlcmac_bts, pag_req->chan_needed,
pag_req->identity_lv);
}