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).
This commit is contained in:
Jouni Malinen 2010-04-03 18:35:42 +02:00 committed by Jouni Malinen
parent 11356a2ab5
commit 93368ca4a2
1 changed files with 1 additions and 2 deletions

View File

@ -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 */