reorder nas command line parameters (required for bridge operation)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 25 Jun 2006 16:32:13 +0000 (16:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 25 Jun 2006 16:32:13 +0000 (16:32 +0000)
SVN-Revision: 4077

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

index f5c1ccb0262539113391d87083028ca1a92029e9..6cac60c0b76ed0f34ccb00662c62daf7f4194fce 100644 (file)
@@ -131,7 +131,7 @@ setup_broadcom() {
                        eval "${vif}_ssid=\"\$ssid\""
                        mode="-A"
                        [ "$vif" = "$sta_if" ] && mode="-S"
-                       [ -z "$nas" ] || nas_cmd="${nas_cmd:+$nas_cmd$N}$nas -P /var/run/nas.$ifname.pid -H 34954 -i $ifname${bridge:+ -l $bridge} $mode -m $auth -w $crypto -s \"\$${vif}_ssid\" -g 3600 $nasopts &"
+                       [ -z "$nas" ] || nas_cmd="${nas_cmd:+$nas_cmd$N}$nas -P /var/run/nas.$ifname.pid -H 34954 ${bridge:+ -l $bridge} -i $ifname $mode -m $auth -w $crypto -s \"\$${vif}_ssid\" -g 3600 $nasopts &"
                }
                _c=$(($_c + 1))
        done