5 local remote="$(wlc ifname "$iface" wdsmac)"
7 [ -z "$remote" ] && return
10 [ -z "$CONFIG_SECTION" ] && return
12 config_get type "$CONFIG_SECTION" TYPE
13 [ "$type" = "wifi-iface" ] || return
15 config_get network "$CONFIG_SECTION" network
16 [ -z "$network" ] && return
18 config_get addr "$CONFIG_SECTION" bssid
19 [ "$addr" = "$remote" ] && {
23 setup_interface "$iface" "$network"
32 [ "${INTERFACE%%0.*}" = wds ] && setup_broadcom_wds "$INTERFACE"