aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac.cpp
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-12-23 12:41:34 +0100
committerlaforge <laforge@osmocom.org>2020-01-06 10:26:46 +0000
commitd7c3265223268c920fb24df5c7b6e29a54284571 (patch)
tree0c3dcf10671739853c2243defbcc4b7878eec538 /src/gprs_rlcmac.cpp
parentb507e428e880fcf88111670b6b6a5be6ce1c0123 (diff)
Pass paging group instead of imsi where later is not needed
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 e381b113..cbfc87f4 100644
--- a/src/gprs_rlcmac.cpp
+++ b/src/gprs_rlcmac.cpp
@@ -29,13 +29,13 @@
extern void *tall_pcu_ctx;
int gprs_rlcmac_paging_request(uint8_t *ptmsi, uint16_t ptmsi_len,
- const char *imsi)
+ uint16_t pgroup)
{
LOGP(DRLCMAC, LOGL_NOTICE, "TX: [PCU -> BTS] Paging Request (CCCH)\n");
bitvec *paging_request = bitvec_alloc(22, tall_pcu_ctx);
bitvec_unhex(paging_request, DUMMY_VEC);
int plen = Encoding::write_paging_request(paging_request, ptmsi, ptmsi_len);
- pcu_l1if_tx_pch(paging_request, plen, (char *)imsi);
+ pcu_l1if_tx_pch(paging_request, plen, pgroup);
bitvec_free(paging_request);
return 0;