summaryrefslogtreecommitdiffstats
path: root/usr/lib/autowifi/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib/autowifi/plugins')
-rwxr-xr-xusr/lib/autowifi/plugins/11belkin_wps1
-rwxr-xr-xusr/lib/autowifi/plugins/30default_wps1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr/lib/autowifi/plugins/11belkin_wps b/usr/lib/autowifi/plugins/11belkin_wps
index 65e08624..d4eb8e37 100755
--- a/usr/lib/autowifi/plugins/11belkin_wps
+++ b/usr/lib/autowifi/plugins/11belkin_wps
@@ -15,6 +15,7 @@ cd $(dirname $(readlink -f $0))
. ../lib/wps
parse_plugin_args "$@"
+check_painmode
! check_vendor_mac "$VENDOR_MAC" 002275 001CDF 09863B && echo "VENDOR MAC $VENDOR_MAC not affected" && exit 1
diff --git a/usr/lib/autowifi/plugins/30default_wps b/usr/lib/autowifi/plugins/30default_wps
index 7f66d117..ee7195e0 100755
--- a/usr/lib/autowifi/plugins/30default_wps
+++ b/usr/lib/autowifi/plugins/30default_wps
@@ -6,6 +6,7 @@ cd $(dirname $(readlink -f $0))
. ../lib/plugin_core
parse_plugin_args "$@"
+check_painmode
DEFAULT_PIN="${DEFAULT_PIN:-12345670}"
if has_wps "$ENC"; then