[PATCH 1/1] P2P: Don't expire the peer, if GO-NEG is in progress
Jouni Malinen
j
Fri Jan 17 02:34:41 PST 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