P2PS: Process channels in PD Response
authorIlan Peer <ilan.peer@intel.com>
Thu, 8 Oct 2015 09:36:00 +0000 (12:36 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 11 Oct 2015 18:42:03 +0000 (21:42 +0300)
commit685b2098289a586e0f7b6e9c959973fa5eb74ff4
tree1f834852ca13084d2f7da5b2373bd0d14af6f79a
parent23eef57018a72635e2545900d40a21360b566ed1
P2PS: Process channels in PD Response

In case the P2PS PD Response includes the P2P Channel List attribute,
update the peer device supported channels and verify that the local
device has common channels with the peer (only a sanity check).

If the Operating Channel attribute is included in the response, check
that it is included in the intersection and store it as the peer's
operating frequency (so it could later be used in the join flow, etc.).

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