mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 02:38:22 -05:00
Fix Enrollee WPS state attribute in AP
Only non-AP Enrollee should hard code the state to be not configured.
This commit is contained in:
parent
358b98668e
commit
d7e9a48f66
@ -42,7 +42,7 @@ static int wps_build_wps_state(struct wps_data *wps, struct wpabuf *msg)
|
||||
state);
|
||||
wpabuf_put_be16(msg, ATTR_WPS_STATE);
|
||||
wpabuf_put_be16(msg, 1);
|
||||
wpabuf_put_u8(msg, WPS_STATE_NOT_CONFIGURED);
|
||||
wpabuf_put_u8(msg, state);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user