aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf_dl.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_dl.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_dl.cpp')
-rw-r--r--src/tbf_dl.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index a59b03b3..ba5c6514 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -1321,9 +1321,6 @@ void gprs_rlcmac_dl_tbf::request_dl_ack()
bool gprs_rlcmac_dl_tbf::need_control_ts() const
{
- if (poll_scheduled())
- return false;
-
return state_flags & (1 << GPRS_RLCMAC_FLAG_TO_DL_ACK) ||
m_tx_counter >= POLL_ACK_AFTER_FRAMES ||
m_dl_ack_requested;