|
@@ -603,8 +603,7 @@ u16 wps_config_methods_str2bin(const char *str)
|
|
|
|
|
|
if (str == NULL) {
|
|
if (str == NULL) {
|
|
/* Default to enabling methods based on build configuration */
|
|
/* 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
|
|
#ifdef CONFIG_WPS_UFD
|
|
methods |= WPS_CONFIG_USBA;
|
|
methods |= WPS_CONFIG_USBA;
|
|
#endif /* CONFIG_WPS_UFD */
|
|
#endif /* CONFIG_WPS_UFD */
|