tbf/rlc: Change the code and generate the entire state in the V_B
diff --git a/src/rlc.cpp b/src/rlc.cpp
index 24ffc17..a76703d 100644
--- a/src/rlc.cpp
+++ b/src/rlc.cpp
@@ -116,3 +116,18 @@
 
 	return moved;
 }
+
+void gprs_rlc_v_b::state(char *show_v_b, const uint16_t v_a, const uint16_t v_s,
+			const uint16_t mod_sns, const uint16_t mod_sns_half)
+{
+	int i;
+	uint16_t bsn;
+
+	for (i = 0, bsn = v_a; bsn != v_s; i++, bsn = (bsn + 1) & mod_sns) {
+		uint16_t index = (bsn & mod_sns_half);
+		show_v_b[i] = m_v_b[index];
+		if (show_v_b[i] == 0)
+			show_v_b[i] = ' ';
+	}
+	show_v_b[i] = '\0';
+}