projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5b20a7
)
P2P: Fix WSC IE not to include two Device Name attrs with WPS 2.0 is used
author
Jouni Malinen
<jouni.malinen@atheros.com>
Tue, 6 Jul 2010 23:31:46 +0000
(16:31 -0700)
committer
Jouni Malinen
<j@w1.fi>
Thu, 9 Sep 2010 14:17:20 +0000
(07:17 -0700)
src/wps/wps.c
patch
|
blob
|
history
diff --git
a/src/wps/wps.c
b/src/wps/wps.c
index
2a25c6a
..
99a73ba
100644
(file)
--- a/
src/wps/wps.c
+++ b/
src/wps/wps.c
@@
-488,10
+488,12
@@
struct wpabuf * wps_build_probe_req_ie(int pbc, struct wps_device_data *dev,
return NULL;
}
+#ifndef CONFIG_WPS2
if (dev->p2p && wps_build_dev_name(dev, ie)) {
wpabuf_free(ie);
return NULL;
}
+#endif /* CONFIG_WPS2 */
return wps_ie_encapsulate(ie);
}