WPS: Set Request Type properly into WPS IE in ProbeReq/AssocReq
[wpasupplicant] / src / wps / wps.h
index 3cd20eb..ca6da58 100644 (file)
@@ -79,9 +79,9 @@ struct wpabuf * wps_get_msg(struct wps_data *wps, u8 *op_code);
 int wps_is_selected_pbc_registrar(const u8 *buf, size_t len);
 int wps_is_selected_pin_registrar(const u8 *buf, size_t len);
 const u8 * wps_get_uuid_e(const u8 *buf, size_t len);
-struct wpabuf * wps_build_assoc_req_ie(void);
+struct wpabuf * wps_build_assoc_req_ie(u8 req_type);
 struct wpabuf * wps_build_probe_req_ie(int pbc, struct wps_device_data *dev,
-                                      const u8 *uuid);
+                                      const u8 *uuid, u8 req_type);
 
 
 struct wps_registrar_config {