]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Postpone P2P-DEVICE-FOUND if config_methods not known
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 12 Feb 2013 16:24:56 +0000 (18:24 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 12 Feb 2013 16:24:56 +0000 (18:24 +0200)
commit8b2b2a70ef37e218dd8752a82cdacf22dfac42a4
treeb733b0c71138530131ff8e583b787e82e6db3824
parent954ee628eee7dd09d99ad7c15ba1164a10a1d219
P2P: Postpone P2P-DEVICE-FOUND if config_methods not known

If we discover a P2P peer based on a Beacon frame from the GO role, we
do not get information about the supported configuration methods. This
can result in issues if the P2P managing entity above wpa_supplicant is
not prepared to handling config_methods=0x0. To avoid this, postpone
reporting of the P2P-DEVICE-FOUND event when this happens on one of the
social channels. It would be good to be able to this on all channels,
but that could result in issues of never indicating the event for a peer
that is operating a GO on a channel that requires passive scanning.

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