]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Fix build after WSC 2.0 change to use WFA vendor extension
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 29 Jul 2010 17:51:49 +0000 (10:51 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 9 Sep 2010 14:17:21 +0000 (07:17 -0700)
src/p2p/p2p_build.c

index c45ae8987e66b32f94cac81469f46fe5caf30725..984697619636252eabfcee1d47c298671c8e1413 100644 (file)
@@ -383,7 +383,7 @@ void p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, u16 pw_id,
                wpabuf_put_be16(buf, 0); /* FIX: ? */
        }
 
-       wps_build_version2(buf);
+       wps_build_wfa_ext(buf, 0, NULL, 0);
 
        p2p_buf_update_ie_hdr(buf, len);
 }