P2P: Update peer listen channel from Probe Request frames
authorIlan Peer <ilan.peer@intel.com>
Mon, 29 Feb 2016 12:30:05 +0000 (14:30 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 3 Mar 2016 15:10:26 +0000 (17:10 +0200)
commit12c1fdf19a721aaf29e1c77d63445c7f5b8c61c0
treeb3563aa90ced1dfc9cb134614e66d97f8a206671
parenta805731086c3c99fde971e6a62a3fd2eebaf2b8c
P2P: Update peer listen channel from Probe Request frames

In case a Probe Request frame is received from a known peer P2P Device,
update the listen channel based on the P2P attributes in the Probe
Request frame. This can be useful for cases where the peer P2P Device
changed its listen channel, and the local P2P device is about to start a
GO Negotiation or invitation signaling with the peer.

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