From: Florian Fainelli Date: Fri, 27 Jan 2006 07:39:33 +0000 (+0000) Subject: Added support for lazy WDS, closes #228 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6646a9abf6f36941e2d29b554e419974626e86ea;p=openwrt%2Fsvn-archive%2Farchive.git Added support for lazy WDS, closes #228 SVN-Revision: 3050 --- diff --git a/openwrt/package/webif/files/www/cgi-bin/webif/wireless-advanced.sh b/openwrt/package/webif/files/www/cgi-bin/webif/wireless-advanced.sh index c9a4b9e9ea..1157bf460b 100755 --- a/openwrt/package/webif/files/www/cgi-bin/webif/wireless-advanced.sh +++ b/openwrt/package/webif/files/www/cgi-bin/webif/wireless-advanced.sh @@ -25,7 +25,26 @@ else save_setting wireless wl0_macmode "$FORM_macmode" fi -header "Network" "Advanced Wireless" "Advanced Wireless Settings" ' onLoad="modechange()"' +if empty "$FORM_submit"; then + FORM_lazywds=${wl0_lazywds:-$(nvram get wl0_lazywds)} + case "$FORM_lazywds" in + 0|off|disabled) FORM_lazywds=0;; + *) FORM_lazywds=1;; + esac +else + SAVED=1 + + validate <