rlc: Rename the simple raise_v_r method to avoid naming conflicts
diff --git a/src/rlc.cpp b/src/rlc.cpp
index d115f76..0f481af 100644
--- a/src/rlc.cpp
+++ b/src/rlc.cpp
@@ -172,7 +172,7 @@
while (offset_v_r--) {
if (offset_v_r) /* all except the received block */
v_n->mark_missing(v_r());
- raise_v_r(1);
+ raise_v_r_to(1);
}
LOGP(DRLCMACUL, LOGL_DEBUG, "- Raising V(R) to %d\n", v_r());
}
diff --git a/src/rlc.h b/src/rlc.h
index d68afab..42b1ab0 100644
--- a/src/rlc.h
+++ b/src/rlc.h
@@ -94,7 +94,7 @@
bool is_in_window(uint8_t bsn) const;
void update_rbb(const gprs_rlc_v_n *v_n, char *rbb);
- void raise_v_r(int moves);
+ void raise_v_r_to(int moves);
void raise_v_r(const uint16_t bsn, gprs_rlc_v_n *v_n);
uint16_t raise_v_q(gprs_rlc_v_n *v_n);
@@ -347,7 +347,7 @@
return m_v_r;
}
-inline void gprs_rlc_ul_window::raise_v_r(int moves)
+inline void gprs_rlc_ul_window::raise_v_r_to(int moves)
{
m_v_r = (m_v_r + moves) & mod_sns();
}