Browse Source

Fix WPS attribute parser to use correct pointer for Response Type

Jouni Malinen 15 years ago
parent
commit
99e437ad52
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/wps/wps_attr_parse.c

+ 1 - 1
src/wps/wps_attr_parse.c

@@ -332,7 +332,7 @@ static int wps_set_attr(struct wps_parse_attr *attr, u16 type,
 				   "length %u", len);
 			return -1;
 		}
-		attr->request_type = pos;
+		attr->response_type = pos;
 		break;
 	case ATTR_MANUFACTURER:
 		attr->manufacturer = pos;