summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-16 13:17:47 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-16 13:17:47 +0000
commitfe3c9ea431cb017dd2a291e755c451c0ea22ccc9 (patch)
tree155ab8dfd148bccb00be87791e0c320427d88f97
parentca9e421c6445d9f866494e611ec00c3fc2158062 (diff)
Fix macfiltering options (#2397)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8792 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/broadcom-wl/files/lib/wifi/broadcom.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh
index cb35ef1f7..0bffb4290 100644
--- a/package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -72,13 +72,13 @@ scan_broadcom() {
macfilter=0
case "$macfilter" in
allow|2)
- macfilter=allow;
+ macfilter=2;
;;
deny|1)
- macfilter=deny;
+ macfilter=1;
;;
disable|0)
- macfilter=disabled;
+ macfilter=0;
;;
esac
}
@@ -247,7 +247,7 @@ rxant ${rxant:-3}
txant ${txant:-3}
radio ${radio:-1}
-macfilter ${macfilter:-disabled}
+macfilter ${macfilter:-0}
maclist ${maclist:-none}
wds none
${wds:+wds $wds}