aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-04-03 16:35:42 (GMT)
committerJouni Malinen <j@w1.fi>2010-04-04 05:14:02 (GMT)
commit93368ca4a25e1c4df63bb5eb58f01d1d92eeb727 (patch)
treed859e5bc1c901f62b834f1e5f8e576980003c434 /src
parent11356a2ab5a7ea36f8c0c9738aac02bf912adb29 (diff)
downloadhostap-93368ca4a25e1c4df63bb5eb58f01d1d92eeb727.zip
hostap-93368ca4a25e1c4df63bb5eb58f01d1d92eeb727.tar.gz
hostap-93368ca4a25e1c4df63bb5eb58f01d1d92eeb727.tar.bz2
WPS: Do not include Label in default Config Methods
This avoids conflict with both Label and Display being included at the same time (which would make it difficult to figure out which PIN was actually used).
Diffstat (limited to 'src')
-rw-r--r--src/wps/wps_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wps/wps_common.c b/src/wps/wps_common.c
index ba39ef3..6ef14db 100644
--- a/src/wps/wps_common.c
+++ b/src/wps/wps_common.c
@@ -603,8 +603,7 @@ u16 wps_config_methods_str2bin(const char *str)
if (str == NULL) {
/* Default to enabling methods based on build configuration */
- methods |= WPS_CONFIG_LABEL | WPS_CONFIG_DISPLAY |
- WPS_CONFIG_KEYPAD;
+ methods |= WPS_CONFIG_DISPLAY | WPS_CONFIG_KEYPAD;
#ifdef CONFIG_WPS_UFD
methods |= WPS_CONFIG_USBA;
#endif /* CONFIG_WPS_UFD */