commit | 321f3c3104d7710d97fe373d6cf17da1e5931bef | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Sat Nov 23 16:06:54 2013 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Sat Nov 23 16:19:17 2013 +0100 |
tree | 430d7165b4d839451a484e7a09be71765a2f4c96 | |
parent | 092478f294fedd4dc285ff817143679d3068242d [diff] [blame] |
rlc: Move the ack state array into a separate class that can be tested
diff --git a/src/rlc.cpp b/src/rlc.cpp index 4319c49..1a2aa0f 100644 --- a/src/rlc.cpp +++ b/src/rlc.cpp
@@ -31,3 +31,9 @@ return block; } + +void gprs_rlc_v_b::reset() +{ + for (size_t i = 0; i < ARRAY_SIZE(m_v_b); ++i) + mark_invalid(i); +}