[PATCH] P2P: Fix setting P2P Client Discoverability bit

Masashi Honma masashi.honma
Wed Jun 20 06:07:50 PDT 2012


> At p2p_add_group_clients() an else caluse was added for the sentence below.
> 	if (dev->flags & (P2P_DEV_GROUP_CLIENT_ONLY | P2P_DEV_PROBE_REQ_ONLY))
> But I could not make a test case which uses the else clause.
> I have thought the P2P_DEV_GROUP_CLIENT_ONLY bit in the dev->flags is
> always enabled. Because the device is in the P2P Group Info Attribute.
> What case do you expect about the else clause ?

This was solved.



More information about the Hostap mailing list