diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-17 13:46:19 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-30 21:20:45 +0100 |
commit | b0250ebeac1d1a20c0448a81f3609ddf3ec7517d (patch) | |
tree | 32f1b54d01fd735febb49904145ca63ff845db0e /src/gprs_rlcmac_data.cpp | |
parent | 698b6121883f2f50ba95d72f900894366bc7c082 (diff) |
bts: Remove global state from gprs_rlcmac_rcv_rach
Diffstat (limited to 'src/gprs_rlcmac_data.cpp')
-rw-r--r-- | src/gprs_rlcmac_data.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs_rlcmac_data.cpp b/src/gprs_rlcmac_data.cpp index ff811c6e..b95bf2d4 100644 --- a/src/gprs_rlcmac_data.cpp +++ b/src/gprs_rlcmac_data.cpp @@ -1027,9 +1027,9 @@ struct msgb *gprs_rlcmac_send_packet_uplink_assignment( return msg; } -int gprs_rlcmac_rcv_rach(uint8_t ra, uint32_t Fn, int16_t qta) +int gprs_rlcmac_rcv_rach(struct gprs_rlcmac_bts *bts, + uint8_t ra, uint32_t Fn, int16_t qta) { - struct gprs_rlcmac_bts *bts = gprs_rlcmac_bts; struct gprs_rlcmac_tbf *tbf; uint8_t trx, ts = 0; int8_t tfi; /* must be signed */ |