P2P: Fix association with an AP/P2P GO that is not a P2P manager
authorIlan Peer <ilan.peer@intel.com>
Mon, 4 May 2015 12:50:46 +0000 (15:50 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 7 May 2015 18:00:22 +0000 (21:00 +0300)
commit9b05135aa477f2c64d08bdb99062907cf767c1ea
treea08b156afcc3ec530e5664ee0730adaab6eec887
parent8884ce03bc7f6c730d6b180ee544c9f7c9b51e12
P2P: Fix association with an AP/P2P GO that is not a P2P manager

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.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
src/p2p/p2p.c