aboutsummaryrefslogtreecommitdiff
path: root/src/wps/wps_attr_build.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wps/wps_attr_build.c')
-rw-r--r--src/wps/wps_attr_build.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wps/wps_attr_build.c b/src/wps/wps_attr_build.c
index f3722567..5ec7133a 100644
--- a/src/wps/wps_attr_build.c
+++ b/src/wps/wps_attr_build.c
@@ -310,9 +310,6 @@ int wps_build_auth_type_flags(struct wps_data *wps, struct wpabuf *msg)
auth_types &= ~WPS_AUTH_WPA;
auth_types &= ~WPS_AUTH_WPA2;
auth_types &= ~WPS_AUTH_SHARED;
-#ifdef CONFIG_NO_TKIP
- auth_types &= ~WPS_AUTH_WPAPSK;
-#endif /* CONFIG_NO_TKIP */
#ifdef CONFIG_WPS_TESTING
if (wps_force_auth_types_in_use) {
wpa_printf(MSG_DEBUG,
@@ -334,9 +331,6 @@ int wps_build_encr_type_flags(struct wps_data *wps, struct wpabuf *msg)
{
u16 encr_types = WPS_ENCR_TYPES;
encr_types &= ~WPS_ENCR_WEP;
-#ifdef CONFIG_NO_TKIP
- encr_types &= ~WPS_ENCR_TKIP;
-#endif /* CONFIG_NO_TKIP */
#ifdef CONFIG_WPS_TESTING
if (wps_force_encr_types_in_use) {
wpa_printf(MSG_DEBUG,