From 3549fb214f09a6dbcb8368238164a01526a0aa82 Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Tue, 5 Apr 2011 15:09:38 +0000 Subject: [PATCH] madwifi: Always escape SSID parameter SVN-Revision: 26484 --- package/madwifi/files/lib/wifi/madwifi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 21a5cf7434..1f22b70af4 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -366,7 +366,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" -- 2.25.1