anchor.diff:      end,
       next_state(run, State);
   
  -run({configuration_update_response, _Seq,
  -     Elements, _Header}, State) ->
  +run(cast, {configuration_update_response, _Seq,
  +	   Elements, _Header}, State) ->
       %% TODO: Error handling
       case proplists:get_value(result_code, Elements) of
       0 ->
  
positive.code: 
      Wlan = get_wlan_by_bss(BSS, State0),
      {Reply, State} = internal_new_station(Wlan, SA, BSS, State0),
      reply(Reply, run, State);
  
  run(Event = {add_station, BSS, MAC, StaCaps, CryptoState}, From, State0) ->
      lager:warning("in RUN got expexted: ~p", [Event]),
      Wlan = get_wlan_by_bss(BSS, State0),
      lager:warning("WLAN: ~p", [Wlan]),
      State = internal_add_station(Wlan, MAC, StaCaps, CryptoState, response_fsm_reply(From), State0),
      next_state(run, State);
  
  run({get_station_config, BSS}, _From, State) ->
      Reply =
  	case get_wlan_by_bss(BSS, State) of
  	    Wlan = #wlan{state = running} ->
  
negative.code: reset_echo_request_timer(State = #state{echo_request_timer = Timer,
  					echo_request_timeout = Timeout}) ->
      if is_reference(Timer) ->
  	    cancel_timer(Timer);
         true ->
  	    ok
      end,
      TRef = if is_integer(Timeout) ->
  		   erlang:send_after(Timeout * 1000, self(), echo_timeout);
  	      true ->
  		   undefined
  	   end,
  