Review at  https://gerrit.osmocom.org/143

tbf_dl: comment why we sent a dummy LLC packets to delay the release of the TBF

Change-Id: I1862674437dffef4de3ffa7b183ecf690020b0ec
---
M src/tbf_dl.cpp
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/43/143/1

diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index 00adbc9..66f747b 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -515,6 +515,8 @@
                bool is_final;

                if (m_llc.frame_length() == 0) {
+                       /* nothing to sent - delay the release of the TBF */
+
                        int space = block_data_len - write_offset;
                        /* A header will need to by added, so we just need
                         * space-1 octets */

-- 
To view, visit https://gerrit.osmocom.org/143
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1862674437dffef4de3ffa7b183ecf690020b0ec
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <[email protected]>

Reply via email to