From: Jouni Malinen Date: Wed, 26 May 2010 14:12:30 +0000 (+0300) Subject: Fix WPS attribute parser to use correct pointer for Response Type X-Git-Tag: hostap-1-bp~1293 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99e437ad5251f3712fa17868d76c8a6956c2e2a8;p=thirdparty%2Fhostap.git Fix WPS attribute parser to use correct pointer for Response Type --- diff --git a/src/wps/wps_attr_parse.c b/src/wps/wps_attr_parse.c index 7d52005df..b18572109 100644 --- a/src/wps/wps_attr_parse.c +++ b/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;