1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 21:44:04 +02:00

Fix macfiltering options (#2397)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8792 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-09-16 13:17:47 +00:00
parent ca9e421c64
commit fe3c9ea431

View File

@ -72,13 +72,13 @@ scan_broadcom() {
macfilter=0 macfilter=0
case "$macfilter" in case "$macfilter" in
allow|2) allow|2)
macfilter=allow; macfilter=2;
;; ;;
deny|1) deny|1)
macfilter=deny; macfilter=1;
;; ;;
disable|0) disable|0)
macfilter=disabled; macfilter=0;
;; ;;
esac esac
} }
@ -247,7 +247,7 @@ rxant ${rxant:-3}
txant ${txant:-3} txant ${txant:-3}
radio ${radio:-1} radio ${radio:-1}
macfilter ${macfilter:-disabled} macfilter ${macfilter:-0}
maclist ${maclist:-none} maclist ${maclist:-none}
wds none wds none
${wds:+wds $wds} ${wds:+wds $wds}