aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-07-02 22:58:11 +0000
committerMike Baker <mbm@openwrt.org>2007-07-02 22:58:11 +0000
commit9bd4ecac7baf59fd41ebb9521e992785e826db66 (patch)
tree55b032bef33092cbf78d6ccfe322f8e2fac63600 /package/broadcom-wl
parentbd45d860a94e774160a4cb3c806fa998100791e6 (diff)
downloadmaster-187ad058-9bd4ecac7baf59fd41ebb9521e992785e826db66.tar.gz
master-187ad058-9bd4ecac7baf59fd41ebb9521e992785e826db66.tar.bz2
master-187ad058-9bd4ecac7baf59fd41ebb9521e992785e826db66.zip
wds-wpa support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7858 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl')
-rw-r--r--package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds b/package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds
index 3ca4cd2dc6..0f28eedafc 100644
--- a/package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds
+++ b/package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds
@@ -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"
}
}