diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-03-29 19:01:13 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-03-31 17:39:50 +0200 |
commit | 58046e45d13c2881e5f150973655240a23f6db04 (patch) | |
tree | 10e538c2027cf681f31fd4cc93b2740b2b59fa02 /src/tbf_dl.cpp | |
parent | 2c0931cedc23070425768270913ba42b632ad81d (diff) |
tbf: Get rid of attribute poll_fn
That field is not needed anymore, and it works only under the assumption
that only 1 poll request can be active at a time per TBF, which is not
true.
Change-Id: I63a34a702f028b871530fb7caeb13e8ea1cc78ac
Diffstat (limited to 'src/tbf_dl.cpp')
-rw-r--r-- | src/tbf_dl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp index 19415f17..c122bba8 100644 --- a/src/tbf_dl.cpp +++ b/src/tbf_dl.cpp @@ -990,11 +990,11 @@ struct msgb *gprs_rlcmac_dl_tbf::create_dl_acked_block( rlc.rrbp = rrbp; rlc.es_p = 1; /* Polling */ - m_last_dl_poll_fn = poll_fn; + m_last_dl_poll_fn = new_poll_fn; LOGPTBFDL(this, LOGL_INFO, "Scheduled Ack/Nack polling on FN=%d, TS=%d\n", - poll_fn, poll_ts); + new_poll_fn, poll_ts); } } |