mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 16:58:41 -05:00
Fix WPS attribute parser to use correct pointer for Response Type
This commit is contained in:
parent
32b752ef8f
commit
99e437ad52
@ -332,7 +332,7 @@ static int wps_set_attr(struct wps_parse_attr *attr, u16 type,
|
|||||||
"length %u", len);
|
"length %u", len);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
attr->request_type = pos;
|
attr->response_type = pos;
|
||||||
break;
|
break;
|
||||||
case ATTR_MANUFACTURER:
|
case ATTR_MANUFACTURER:
|
||||||
attr->manufacturer = pos;
|
attr->manufacturer = pos;
|
||||||
|
Loading…
Reference in New Issue
Block a user