projects
/
libeap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WPS 2.0: Make WSC 2.0 support to be build option (CONFIG_WPS2)
[libeap.git]
/
src
/
wps
/
wps_er.c
diff --git
a/src/wps/wps_er.c
b/src/wps/wps_er.c
index
9f5074a
..
51306cb
100644
(file)
--- a/
src/wps/wps_er.c
+++ b/
src/wps/wps_er.c
@@
-1351,9
+1351,11
@@
static int wps_er_build_sel_reg_config_methods(struct wpabuf *msg,
static int wps_er_build_uuid_r(struct wpabuf *msg, const u8 *uuid_r)
{
+#ifdef CONFIG_WPS2
wpabuf_put_be16(msg, ATTR_UUID_R);
wpabuf_put_be16(msg, WPS_UUID_LEN);
wpabuf_put_data(msg, uuid_r, WPS_UUID_LEN);
+#endif /* CONFIG_WPS2 */
return 0;
}