[GPRS] NS: Start TEST procedure, not ALIVE procedure, on RESET/RESET_ACK

According to the spec, after an incoming RESET or RESET_ACK, we shall start the
TEST procedure, not the ALIVE procedure.

Also, when we start the TEST procedure, we have to always send a NS_ALIVE
packet at the same time (we didn't in the case of incoming RESET).

Furthermore, we now only start TIMER_TNS_ALIVE from within the
TIMER_TNS_RESET callback code, where we also make sure that the
alive_retries counter is reset to zero.
1 file changed
tree: a239de192d78b1b8079d9c8b316082af231a4c16
  1. openbsc/