[PATCH] P2P: Fix problem with connecting to non-P2P network in P2P mode
Sun Jun 24 02:48:31 PDT 2012
On Thu, May 17, 2012 at 04:11:34PM +0200, Klimczewski Marcin wrote:
> This patch allows connection to non-P2P network in P2P mode. In P2P
> mode, attempt to connect to non-P2P network always fails due to handling
> scan results in P2P specific way and scan process looping itself. To
> solve it wpas_p2p_stop_find() is called just after invoking scan request.
> To allow to connect to non-P2P network in P2P mode,
> p2p_stop_find is called just after invoking scan request.
This looks a bit too low-level location to call wpas_p2p_stop_find(),
i.e., if the P2P device discovery needs to be stopped, that should
probably happen when a connection is being requested in the first place
rather than when a scan request (which may be used for other purposes,
too) is being processed.
Jouni Malinen PGP id EFC895FA
More information about the Hostap