]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2PS: Fix Probe Response frame building in error cases
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 18 Jun 2015 14:24:52 +0000 (17:24 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 18 Jun 2015 15:14:04 +0000 (18:14 +0300)
commit50a9efe713df135e98f2229f67faa1a3d7243693
tree14689a01771eedcf49f71dd3c74fd7b1618761d7
parent509f269bbdfb6218152b3191febd6aa590ff88cf
P2PS: Fix Probe Response frame building in error cases

org.wi-fi.wfds service is not a replacement for non-WFA service matches.
Do not try to replace the results with that if there is not sufficient
room for the response. Instead, reply with all the matching services
that fit into the message. org.wi-fi.wfds is the first entry in the list
(if matching request/service is present), so it won't get overridden by
other services.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p_build.c