summaryrefslogtreecommitdiffstats
path: root/usr/lib
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib')
-rw-r--r--usr/lib/autowifi/lib/wps2
-rwxr-xr-xusr/lib/autowifi/plugins/30default_wps2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/lib/autowifi/lib/wps b/usr/lib/autowifi/lib/wps
index 9fa01801..5e9bbda7 100644
--- a/usr/lib/autowifi/lib/wps
+++ b/usr/lib/autowifi/lib/wps
@@ -17,7 +17,7 @@ try_wps_pin(){
PIN="$5"
- [ "$ENC" = "[ESS]" ] && return 2
+ [ "$ENC" == "[ESS]" ] && return 2
WPA_CONF=/tmp/wpa_trywps.conf
WPA_LOG=/tmp/wpa_trywps.log
rm $WPA_LOG
diff --git a/usr/lib/autowifi/plugins/30default_wps b/usr/lib/autowifi/plugins/30default_wps
index ee7195e0..50ad2676 100755
--- a/usr/lib/autowifi/plugins/30default_wps
+++ b/usr/lib/autowifi/plugins/30default_wps
@@ -13,6 +13,6 @@ if has_wps "$ENC"; then
echo "trying PIN $DEFAULT_PIN against $ESSID" >&2
try_wps_pin "$@" $DEFAULT_PIN
else
- echo "Network $ESSID not WPS enabled" >&2
+ echo "Network $ESSID not WPS enabled"
exit 1
fi