summaryrefslogtreecommitdiffstats
path: root/package/hostap-driver/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostap-driver/files')
-rwxr-xr-xpackage/hostap-driver/files/lib/wifi/hostap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostap-driver/files/lib/wifi/hostap.sh b/package/hostap-driver/files/lib/wifi/hostap.sh
index 1f43b2ab1..cacc3baa8 100755
--- a/package/hostap-driver/files/lib/wifi/hostap.sh
+++ b/package/hostap-driver/files/lib/wifi/hostap.sh
@@ -72,7 +72,7 @@ enable_prism2() {
config_get ssid "$vif" ssid
config_get mode "$vif" mode
- [ "$mode" = "wds" ] || iwconfig "$device" essid "$ssid"
+ [ "$mode" = "wds" ] || iwconfig "$device" essid -- "$ssid"
case "$mode" in
sta)