[cavium-octeon] enable command line mtd partitionning and enable bridging
[openwrt.git] / package / madwifi / files / lib / wifi / madwifi.sh
index 65f9637..24d371b 100755 (executable)
@@ -300,8 +300,10 @@ enable_atheros() {
                        config_set "$vif" bridge "$bridge"
                        start_net "$ifname" "$net_cfg"
                }
-               [ -n "$ssid" ] && iwconfig "$ifname" essid on
-               iwconfig "$ifname" essid "$ssid"
+               [ -n "$ssid" ] && {
+                       iwconfig "$ifname" essid on
+                       iwconfig "$ifname" essid "$ssid"
+               }
                set_wifi_up "$vif" "$ifname"
 
                # TXPower settings only work if device is up already
This page took 0.028659 seconds and 4 git commands to generate.