[MERGED] osmo-pcu[master]: rlc.h: correct gprs_rlc_data comment

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Jun 1 13:38:28 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: rlc.h: correct gprs_rlc_data comment
......................................................................


rlc.h: correct gprs_rlc_data comment

It's the block data, not the history.
Also add including LI headers.

Change-Id: Id4d99d1d21c7fa372771fd569d87bbcf2c6b6d22
Reviewed-on: https://gerrit.osmocom.org/144
Reviewed-by: Harald Welte <laforge at gnumonks.org>
Tested-by: Jenkins Builder
---
M src/rlc.h
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/rlc.h b/src/rlc.h
index 03659da..ad10b3a 100644
--- a/src/rlc.h
+++ b/src/rlc.h
@@ -113,9 +113,9 @@
 	uint8_t *prepare(size_t block_data_length);
 	void put_data(const uint8_t *data, size_t len);
 
-	/* block history */
+	/* block data including LI headers */
 	uint8_t block[RLC_MAX_LEN];
-	/* block len of history */
+	/* block data len including LI headers*/
 	uint8_t len;
 
 	struct gprs_rlc_data_block_info block_info;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id4d99d1d21c7fa372771fd569d87bbcf2c6b6d22
Gerrit-PatchSet: 3
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the OpenBSC mailing list