anchor.diff:      State#state{wlans =
   		    lists:keystore(WlanIdent, #wlan.wlan_identifier, Wlans, Fun(Wlan))}.
   
  -get_station_cfg(#wlan{bss = BSS, mac_mode = MacMode, tunnel_mode = TunnelMode,
  +get_station_cfg(#wlan{mac_mode = MacMode, tunnel_mode = TunnelMode,
   		      information_elements = IEs,
   		      wpa_config = WpaConfig, gtk = GTK, igtk = IGTK},
  +		BSS,
   		#state{id = WtpId, session_id = SessionId,
   		       data_channel_address = WTPDataChannelAddress, data_path = DataPath}) ->
       #station_config{
  
positive.code: 	    lager:debug("station ~p found as ~p", [{self(), StationMAC}, Station0]),
  	    {Ok, State}
      end;
  internal_new_station(_, StationMAC, State) ->
      lager:debug("Station ~p trying to associate on invalid Wlan", [StationMAC]),
      {{error, invalid_bss}, State}.
  
  internal_add_station(#wlan{wlan_identifier = {RadioId, WlanId}, vlan = VlanId, bss = BSS}, MAC, StaCaps,
  
negative.code: 		[StationMAC, StationCount, MaxStations]),
      {{error, too_many_clients}, State};
  
  internal_new_station(Wlan = #wlan{}, StationMAC, BSS,
  		     State = #state{id = WtpId, station_count  = StationCount}) ->
  
      %% we have to repeat the search again to avoid a race
  