anchor.diff:  	not_found ->
   	    exometer:update([capwap, ac, station_count], 1),
   	    exometer:update([capwap, wtp, WtpId, station_count], StationCount + 1),
  -	    StationCfg = #station_config{
  -			    data_path = DataPath, wtp_data_channel_address = WTPDataChannelAddress,
  -			    wtp_id = WtpId, wtp_session_id = SessionId,
  -			    mac_mode = MacMode, tunnel_mode = TunnelMode,
  -			    bss = BSS, bss_ies = IEs, wpa_config = WpaConfig,
  -			    gtk = GTK, igtk = IGTK
  -			   },
  +	    StationCfg = get_station_cfg(Wlan, State),
   	    Reply =
   		case capwap_station_reg:lookup(StationMAC) of
   		    not_found ->
  
positive.code:     State#state{wlans =
  		    lists:keystore(WlanIdent, #wlan.wlan_identifier, Wlans, Fun(Wlan))}.
  
  internal_new_station(#wlan{}, StationMAC,
  		     State = #state{config = #wtp{max_stations = MaxStations},
  				    station_count  = StationCount})
  
negative.code: 		[StationMAC, StationCount, MaxStations]),
      {{error, too_many_clients}, State};
  
  internal_new_station(Wlan = #wlan{bss = BSS}, StationMAC,
  		     State = #state{id = WtpId, station_count  = StationCount}) ->
  
      %% we have to repeat the search again to avoid a race
      lager:debug("search for station ~p", [{self(), StationMAC}]),
  