aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf_ul.cpp
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-03-29 16:16:27 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-03-31 17:39:50 +0200
commited066b5328aeefca471af24b35c976d80c21312e (patch)
treeeb9db075793275b6b0542928c678f944e6bafd37 /src/tbf_ul.cpp
parent86580e1966b7272cad75c845607e45b8347cf758 (diff)
tbf: Get rid of unneeded poll_scheduled()
This API is not really needed anymore, since anyway it works under the assumption there can only be 1 POLL in transit per TBF, which isn't necessarily true. Change-Id: I875f51cade95faeb2d79dcebfead4c83e23a731b
Diffstat (limited to 'src/tbf_ul.cpp')
-rw-r--r--src/tbf_ul.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf_ul.cpp b/src/tbf_ul.cpp
index 063d0ff2..ff291ef7 100644
--- a/src/tbf_ul.cpp
+++ b/src/tbf_ul.cpp
@@ -295,7 +295,7 @@ struct msgb *gprs_rlcmac_ul_tbf::create_ul_ack(uint32_t fn, uint8_t ts)
uint32_t new_poll_fn = 0;
if (final) {
- if (poll_scheduled() && ul_ack_state_is(GPRS_RLCMAC_UL_ACK_WAIT_ACK)) {
+ if (ul_ack_state_is(GPRS_RLCMAC_UL_ACK_WAIT_ACK)) {
LOGPTBFUL(this, LOGL_DEBUG,
"Polling is already scheduled, so we must wait for the final uplink ack...\n");
return NULL;