1. 07 Mar, 2013 38 commits
  2. 05 Mar, 2013 2 commits
    • Alessandro Rubini's avatar
      fsm.c: bugfix on frame error · b5b16b95
      Alessandro Rubini authored
      fsm.c corrently decodes the received frame, and error management is
      built in (even if code in msg.c still needs to be audited to be more
      careful about rogue frames).  However, when a received frame is in
      error, fsm.c cannot return to the caller because it doesn't know the
      current delay. Thus, zero the frame and call the current status, so
      we have back a recalculated ppi->next_delay.
      
      Meanwhile, mask with pp_verbose_frames the diagnostic message for
      received frames -- and be more careful with accessing it's data.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      b5b16b95
    • Alessandro Rubini's avatar
      general: don't set ppi->next_delay when not needed · 32995f14
      Alessandro Rubini authored
      A number of states were setting ppi->next_delay before re-setting
      it to a different value, or setting it on a state change (which now
      occurs immediately)
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      32995f14