[PATCH 1/1] P2P: Clear the discovery state incase of deffered GO Neg response

Jouni Malinen j
Tue Aug 12 07:07:47 PDT 2014

On Thu, Aug 07, 2014 at 03:58:58PM +0530, Jithu Jance wrote:
> After sending out GO Neg response with status=1, clear the p2p
> discovery state. This will help in allowing the legacy STA scan's
> to proceed (concurrent case). Also the P2P-FIND-STOPPED event will
> help to sync the userspace. Another option is to resume the SEARCH
> or LISTEN, but doesn't make much sense since we are waiting for the
> user input (p2p_connect command).

Hmm.. This sounds problematic. Wouldn't the change allow anyone to stop
P2P discovery simply by sending a GO Neg Req frame to this device?
p2p_connect command would be used only if the user is interested in
connecting with the specific peer; if not, any other peer should be
allowed to request group formation (or other P2P operations).

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list