aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-12-15 11:14:30 +0100
committerMax <msuraev@sysmocom.de>2018-01-04 10:15:59 +0000
commit7df82d412eca327b94f6040a140d1f8d5d9c7c53 (patch)
tree9b229d8024356117c3af254fcd9b7aff96bf135d /src/tbf.h
parent869c0c2e552cc5019531229e366a022f6ede0557 (diff)
TBF-DL: mark rcvd_dl_ack() parameters as boolean
The final(_ack) parameter of rcvd_dl_ack() only used as boolean - mark it as such. Change-Id: Icc4d68f049a45d4b42c5594f50594ff0d44c1bac
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 4a304af..f57dbe3 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -450,8 +450,8 @@ struct gprs_rlcmac_dl_tbf : public gprs_rlcmac_tbf {
const uint16_t pdu_delay_csec,
const uint8_t *data, const uint16_t len);
- int rcvd_dl_ack(uint8_t final, uint8_t ssn, uint8_t *rbb);
- int rcvd_dl_ack(uint8_t final_ack, unsigned first_bsn, struct bitvec *rbb);
+ int rcvd_dl_ack(bool final, uint8_t ssn, uint8_t *rbb);
+ int rcvd_dl_ack(bool final_ack, unsigned first_bsn, struct bitvec *rbb);
struct msgb *create_dl_acked_block(uint32_t fn, uint8_t ts);
void trigger_ass(struct gprs_rlcmac_tbf *old_tbf);
void clear_poll_timeout_flag();