summaryrefslogtreecommitdiff
path: root/package/broadcom-wl/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-09-16 13:17:47 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-09-16 13:17:47 +0000
commita65a31d165403bdeeaf8de77b2036ccb30ac5830 (patch)
treea5a69087da781cb9bf5e4829a84c674d93e63006 /package/broadcom-wl/files
parent8c612a1cdb049ba8bc640b198d4a9a1e0c31d90e (diff)
downloadmtk-20170518-a65a31d165403bdeeaf8de77b2036ccb30ac5830.zip
mtk-20170518-a65a31d165403bdeeaf8de77b2036ccb30ac5830.tar.gz
mtk-20170518-a65a31d165403bdeeaf8de77b2036ccb30ac5830.tar.bz2
Fix macfiltering options (#2397)
SVN-Revision: 8792
Diffstat (limited to 'package/broadcom-wl/files')
-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 cb35ef1..0bffb42 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}