Fix macfiltering options (#2397)
authorFlorian Fainelli <florian@openwrt.org>
Sun, 16 Sep 2007 13:17:47 +0000 (13:17 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 16 Sep 2007 13:17:47 +0000 (13:17 +0000)
SVN-Revision: 8792

package/broadcom-wl/files/lib/wifi/broadcom.sh

index cb35ef1f78c8d66d618b62845a67a111b9121c1b..0bffb42908b460e3d5650e3dbfc205eee24b76c2 100644 (file)
@@ -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}