osmo-pcu[master]: tbf_dl: comment why we sent a dummy LLC packets to delay the...
diff mbox

Message ID gerrit.1464693937476.I1862674437dffef4de3ffa7b183ecf690020b0ec@gerrit.osmocom.org
State New
Headers show

Commit Message

gerrit-no-reply@lists.osmocom.org May 31, 2016, 11:25 a.m. UTC
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

Comments

gerrit-no-reply@lists.osmocom.org May 31, 2016, 11:53 a.m. UTC | #1
Patch Set 1: Code-Review+2

Patch
diff mbox

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 */