]> git.ipfire.org Git - thirdparty/hostap.git/commit
GAS: Do not reply to P2P SD query from generic GAS/ANQP server
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 21 Oct 2014 09:16:47 +0000 (12:16 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 22 Oct 2014 16:21:42 +0000 (19:21 +0300)
commita6b1215769ce9bb9f33ba5c59d4926773e9b99a8
tree4a8fc3b51e75fcca5385923d8feaf5959816995e
parent97752f7930af55106b0959c2bb191d982382afe3
GAS: Do not reply to P2P SD query from generic GAS/ANQP server

This avoids an issue where a wpa_supplicant build with CONFIG_P2P=y and
CONFIG_HS20=y ended up processing a P2P SD query twice when operating as
a GO and sending out two replies. Only the P2P SD implementation should
reply to P2P SD query in such a case.

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