[PATCH v2] P2P: Fix association with an AP/P2P GO that is not a P2P manager

Jouni Malinen j
Thu May 7 12:08:40 PDT 2015


On Mon, May 04, 2015 at 03:50:46PM +0300, Ilan Peer wrote:
> Do not add a P2P IE when a station interface is trying to associate
> to an AP or P2P GO that publishes a P2P IE but does not include
> a P2P manageability attribute.
> 
> This addresses an interoperability issue that was reported in
> https://bugzilla.kernel.org/show_bug.cgi?id=96471, where a P2P GO
> rejects association from a station interface without a specified
> reason.

Thanks, applied.

> +	if (p2p_parse_p2p_ie(p2p_ie, &msg) < 0)

With the require os_memset for &msg added prior to this call.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list