anchor.diff:  						   DynSSIDSuffixLen)]);
   	       _ -> DefaultSSID
   	   end,
  -    WLAN0 = wtp_init_wlan_radio_defaults(Radio, #wtp_wlan{ssid = SSID}),
  -    lists:foldl(wtp_init_wlan(CN, Radio, _, _),
  -		WLAN0, Settings).
  +    WLAN0 = wtp_init_wlan_radio_defaults(Count, Radio, #wtp_wlan{ssid = SSID}),
  +    WLAN = lists:foldl(wtp_init_wlan(CN, Radio, _, _),
  +		       WLAN0, Settings),
  +    {WLAN, Count + 1}.
   
   %% apply per RADIO type AC defaults
   wtp_init_radio_type_config(CN, RadioType, Radio) ->
  
positive.code:     lager:debug("ignoring ~p on Radio (~w:~w)", [Setting, CN, Radio#wtp_radio.radio_id]),
      WLAN.
  
  wtp_init_wlan(CN, Radio, Settings) ->
      DefaultSSID = get(ac, default_ssid, <<"CAPWAP">>),
      DynSSIDSuffixLen = get(ac, dynamic_ssid_suffix_len, false),
  
  
negative.code: bool_to_int(_) -> 0.
  
  %% derive WLAN defaults from Radio settings
  wtp_init_wlan_radio_defaults(Id, _Radio, WLAN) ->
      WLAN#wtp_wlan{wlan_id = Id,
  		  suppress_ssid = bool_to_int(get(ac, suppress_ssid, false))}.
  
  wtp_init_wlan(_CN, _Radio, {ssid, _}, WLAN) ->
  