P2PS: Add a wildcard with other advertised service info
authorMax Stepanov <Max.Stepanov@intel.com>
Wed, 10 Jun 2015 08:43:48 +0000 (11:43 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 18 Jun 2015 12:06:54 +0000 (15:06 +0300)
commit83e520e4739bc290f2d34bca2fb1618502c936f7
treef311cc69e1d12e4e1709b7afd3985cf2a8c28fa3
parentc5d3cadbfb512cb61b6fb8b067a4018747fcdf34
P2PS: Add a wildcard with other advertised service info

Quoting P2PS specification: "If multiple Service Hash values are
included in the Probe Request frame, then the ASP shall find a match for
each Service Hash, and it shall send a Probe Response frame with the
information listed in this section for all matched Service Hashes." This
commit changes handling of wildcard hash matching by adding a
wildcard 'org.wi-fi.wfds' info together with the other hash matches.

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