aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf_dl.cpp
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2016-01-04 16:00:05 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-01 13:58:14 +0100
commit4c9e549aa3d65c6b8c6b001895904cc82cb81a64 (patch)
treef85eb3e56b0a6e9a34fa9ea953672237b1e4151a /src/tbf_dl.cpp
parent0d05805b7612f5244077aaaa21bb1f28cbf146d9 (diff)
edge: Add methods and operators to GprsCodingScheme
Add a few new operators and methods to support the use of GprsCodingScheme instead of the plain integer currently used. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/tbf_dl.cpp')
-rw-r--r--src/tbf_dl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index 8bac99f3..e8059929 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -749,7 +749,7 @@ int gprs_rlcmac_dl_tbf::analyse_errors(char *show_rbb, uint8_t ssn,
/* Get statistics for current CS */
/* TODO: Use GprsCodingScheme everywhere and remove cast */
- if (rlc_data->cs != (GprsCodingScheme::Scheme)current_cs()) {
+ if (rlc_data->cs != GprsCodingScheme((GprsCodingScheme::Scheme)current_cs())) {
/* This block has already been encoded with a different
* CS, so it doesn't help us to decide, whether the
* current CS is ok. Ignore it. */