[backfire] merge r26484
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 8 Sep 2011 18:03:42 +0000 (18:03 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 8 Sep 2011 18:03:42 +0000 (18:03 +0000)
SVN-Revision: 28196

package/madwifi/files/lib/wifi/madwifi.sh

index 9e0e70b3828977562207840207b33b5662f26e9d..51b60bc5dfc4611ee41735c7a9d267183256c2e4 100755 (executable)
@@ -330,7 +330,7 @@ enable_atheros() {
                config_get ssid "$vif" ssid
                [ -n "$ssid" ] && {
                        iwconfig "$ifname" essid on
-                       iwconfig "$ifname" essid "$ssid"
+                       iwconfig "$ifname" essid ${ssid:+-- }"$ssid"
                }
 
                set_wifi_up "$vif" "$ifname"