hostap/src/p2p
Jouni Malinen c98b83f2d3 P2P: Do not update peer Listen channel based on PD/Invitation
Commits 17bef1e97a and
ffe98dfb88 started using p2p_add_device()
with other frames than just Probe Response frames from scan results.
However, these changes did not take into account that the PD Request
and Invitation Request frames are normally received on the our own
Listen channel, not on the Listen channel of the peer. As such, these
frames must not be used to update Listen channel information for the
peer.

Fix this by letting p2p_add_device() know whether the results are from
scan results and if not, skip the peer table updates that are specific
to Probe Response frames.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
intended-for: hostap-1
2012-04-26 16:11:17 +03:00
..
Makefile P2P: Add initial version of P2P Module 2010-09-09 07:17:17 -07:00
p2p.c P2P: Do not update peer Listen channel based on PD/Invitation 2012-04-26 16:11:17 +03:00
p2p.h DBus: Add ability to report probe requests 2012-04-01 21:14:48 +03:00
p2p_build.c P2P: Advertise immediate availability of WPS credential 2012-02-27 23:14:35 +02:00
p2p_dev_disc.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
p2p_go_neg.c P2P: Add support for preferred channel list 2012-03-29 21:28:34 +03:00
p2p_group.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
p2p_i.h P2P: Do not update peer Listen channel based on PD/Invitation 2012-04-26 16:11:17 +03:00
p2p_invitation.c P2P: Do not update peer Listen channel based on PD/Invitation 2012-04-26 16:11:17 +03:00
p2p_parse.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
p2p_pd.c P2P: Do not update peer Listen channel based on PD/Invitation 2012-04-26 16:11:17 +03:00
p2p_sd.c P2P: Clear P2P_DEV_SD_INFO when new wildcard SD query is added 2012-04-11 17:51:19 +03:00
p2p_utils.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00