anchor.diff:  	    handle_capwap_message(Header, Msg, StateName, State#state{ctrl_stream = CtrlStreamState1});
   
   	{ok, more, CtrlStreamState1} ->
  -	    {next_state, StateName, State#state{ctrl_stream = CtrlStreamState1}, ?IDLE_TIMEOUT};
  +	    next_state(StateName, State#state{ctrl_stream = CtrlStreamState1});
   
   	{error, Error} ->
   	    lager:error([{capwap_packet, decode}, {error, Error}], "Decode error ~p", [Error]),
  -	    {next_state, StateName, State, ?IDLE_TIMEOUT}
  +	    next_state(StateName, State)
       end.
   
   handle_capwap_message(Header, {Msg, 1, Seq, Elements}, StateName,
  
positive.code: 	    ?MODULE:StateName({Msg, Seq, Elements, Header}, State1);
  	_ ->
  	    %% invalid Seq, out-of-order packet, silently ignore,
  	    {next_state, StateName, State, ?IDLE_TIMEOUT}
      end.
  
  maybe_takeover(CommonName) ->
  
negative.code:     case LastResponse of
  	{Seq, _} ->
  	    NewState = resend_response(State),
  	    next_state(StateName, NewState);
  	{LastSeq, _} when ?SEQ_LE(Seq, LastSeq) ->
  	    %% old request, silently ignore
  	    next_state(StateName, State);
  	_ ->
  	    ?MODULE:StateName({Msg, Seq, Elements, Header}, State)
      end;
  