aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2014-07-10 17:44:06 +0200
committerDaniel Willmann <daniel@totalueberwachung.de>2014-07-16 19:03:36 +0200
commit2207c5e4ef0565ab782196a80cc45dcc458938e4 (patch)
tree05b5dd943b671fb1e37ea25ca195d77a9b182ed1 /src/bts.h
parentfebf1a0ac9cafeb61a5b043be123182603beea2c (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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bts.h b/src/bts.h
index 621bcba3..a0b808eb 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -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
};