diff options
author | Mike Baker <mbm@openwrt.org> | 2007-07-02 22:58:11 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2007-07-02 22:58:11 +0000 |
commit | 47e575eadb84fe618a3c588101a8d9fe0fcda233 (patch) | |
tree | c053a741eab084b23eb3128feace8baceab05192 /package/broadcom-wl | |
parent | a7b99a5bfa47a7069a2820e91373984fb1e5e1ab (diff) | |
download | mtk-20170518-47e575eadb84fe618a3c588101a8d9fe0fcda233.zip mtk-20170518-47e575eadb84fe618a3c588101a8d9fe0fcda233.tar.gz mtk-20170518-47e575eadb84fe618a3c588101a8d9fe0fcda233.tar.bz2 |
wds-wpa support
SVN-Revision: 7858
Diffstat (limited to 'package/broadcom-wl')
-rw-r--r-- | package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds | 9 |
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 3ca4cd2..0f28eed 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" } } |