handover: Call the right function and avoid recursion
Fix a brown paper bag bug and call the right method. The above was an infinite recursion. The stack didn't overflow as the compiler optimized the tail-recursion and coverity didn't complain either. The issue was introduced in the last minutes before the merge when I renamed "reset_handover" to "handover_reset" to follow the object_verb approach throughout the handover.c code. While doing that I sadly replaced reset_handover with handover_frame and not handover_reset.
This commit is contained in:
parent
d59bbd16a7
commit
3e5b6db2d2
|
@ -143,7 +143,7 @@ void handover_frame(struct gsm_lchan *lchan)
|
|||
{
|
||||
LOGP(DHO, LOGL_INFO,
|
||||
"%s First valid frame detected\n", gsm_lchan_name(lchan));
|
||||
handover_frame(lchan);
|
||||
handover_reset(lchan);
|
||||
}
|
||||
|
||||
/* release handover state */
|
||||
|
|
Loading…
Reference in New Issue