1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-31 00:41:45 +02:00

wds-wpa support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7858 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mbm 2007-07-02 22:58:11 +00:00
parent 2d324759e7
commit dd85e3ce1f

View File

@ -17,10 +17,19 @@ setup_broadcom_wds() {
config_get addr "$CONFIG_SECTION" bssid
[ "$addr" = "$remote" ] && {
local cfg="$CONFIG_SECTION"
include /lib/network
scan_interfaces
setup_interface "$iface" "$network"
config_get encryption "$cfg" encryption
config_get key "$cfg" key
config_get ssid "$cfg" ssid
[ "$encryption" == "psk" ] && \
nas4not lan "$iface" up auto aes "$encryption" "$key" "$ssid"
}
}