P2PS: Re-factor p2p_buf_add_service_instance function
authorMax Stepanov <Max.Stepanov@intel.com>
Wed, 10 Jun 2015 08:43:47 +0000 (11:43 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 18 Jun 2015 12:06:48 +0000 (15:06 +0300)
commitc5d3cadbfb512cb61b6fb8b067a4018747fcdf34
tree4ffe2019f1e7b9ab5147a2b056c18e92fd862039
parent13f6f617eeca4fd16ccd144fba0edd84083af118
P2PS: Re-factor p2p_buf_add_service_instance function

Add auxiliary functions to write a single advertised service info record
into a wpabuf and to find P2PS wildcard hash in a received hash
attribute. Re-factor p2p_buf_add_service_instance() function to allow
adding new wildcard types in future commits.

Signed-off-by: Max Stepanov <Max.Stepanov@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
src/p2p/p2p_build.c