[PATCH 1/1] P2P: Don't expire the peer, if GO-NEG is in progress

Jouni Malinen j at w1.fi
Fri Jan 17 05:34:41 EST 2014


On Wed, Jan 15, 2014 at 03:52:51PM +0530, Jithu Jance wrote:
> diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c
> @@ -56,6 +56,15 @@ static void p2p_expire_peers(struct p2p_data *p2p)
> +		if (p2p->go_neg_peer && (os_memcmp(p2p->go_neg_peer->info.p2p_device_addr,
> +				dev->info.p2p_device_addr, ETH_ALEN) == 0)) {

Thanks, applied. Though, I replaced this memcpy with simpler dev ==
p2p->go_neg_peer.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list