projects
/
openwrt
/
staging
/
ldir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7b99a5
)
wds-wpa support
author
Mike Baker
<mbm@openwrt.org>
Mon, 2 Jul 2007 22:58:11 +0000
(22:58 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Mon, 2 Jul 2007 22:58:11 +0000
(22:58 +0000)
SVN-Revision: 7858
package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds
patch
|
blob
|
history
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 3ca4cd2dc68bf6e6c863ca09aacc3dd7eee7729e..0f28eedafccfad27144de3073373b85785040ad4 100644
(file)
--- 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"
}
}