mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 22:43:53 +01:00
wds-wpa support
SVN-Revision: 7858
This commit is contained in:
parent
a7b99a5bfa
commit
47e575eadb
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user