Message ID | gerrit.1464693937476.I1862674437dffef4de3ffa7b183ecf690020b0ec@gerrit.osmocom.org |
---|---|
State | New |
Headers | show |
Patch Set 1: Code-Review+2
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 */