diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2014-07-10 17:44:06 +0200 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2014-07-16 19:03:36 +0200 |
commit | 2207c5e4ef0565ab782196a80cc45dcc458938e4 (patch) | |
tree | 05b5dd943b671fb1e37ea25ca195d77a9b182ed1 /src/bts.h | |
parent | febf1a0ac9cafeb61a5b043be123182603beea2c (diff) |
bts: Ensure tbf direction with OSMO_ASSERT()
In the lookup functions make sure that we are actually returning tbfs
with the expected direction.
Ticket: SYS#389
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/bts.h')
-rw-r--r-- | src/bts.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -87,7 +87,8 @@ private: void rcv_control_dl_ack_nack(Packet_Downlink_Ack_Nack_t *, uint32_t fn); void rcv_resource_request(Packet_Resource_Request_t *t, uint32_t fn); void rcv_measurement_report(Packet_Measurement_Report_t *t, uint32_t fn); - gprs_rlcmac_tbf *tbf_from_list_by_tfi(struct llist_head *tbf_list, uint8_t tfi); + gprs_rlcmac_tbf *tbf_from_list_by_tfi(struct llist_head *tbf_list, uint8_t tfi, + enum gprs_rlcmac_tbf_direction dir); #endif }; |