diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-24 22:00:43 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-26 21:00:51 +0100 |
commit | e9b1ebba9d720374700d3cb2537fcd2725c50a84 (patch) | |
tree | c9cd8640798f39723cc60d62b8953f576904499e /src/rlc.cpp | |
parent | 270f7fce1d5558f66277cbb4c08e3e7cfc4d9c4c (diff) |
rlc: Test the basic of the gprs_rlc_v_n code for remembering the state
Diffstat (limited to 'src/rlc.cpp')
-rw-r--r-- | src/rlc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rlc.cpp b/src/rlc.cpp index fda743f0..f29af62d 100644 --- a/src/rlc.cpp +++ b/src/rlc.cpp @@ -138,3 +138,8 @@ void gprs_rlc_v_b::state(char *show_v_b, const gprs_rlc_dl_window &w) } show_v_b[i] = '\0'; } + +void gprs_rlc_v_n::reset() +{ + memset(m_v_n, 0x0, sizeof(m_v_n)); +} |