fragattacks/src/p2p
Johannes Berg 38dcca9ab0 P2P: Deal with a peer associating while connected
If a P2P client associates with the group while it is
already associated, two member entries may be added to
the group which also confuses num_members counting.

Deal with this by removing the existing entry first
before adding a new one.

I think the way Reinette ran into this was due to our
tx_sync implementation in iwlagn, mac80211 might have
queued two association frames thinking the first one
just failed, but both only went out after the sync was
really successful (which tx_sync doesn't wait for).

Reported-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-hostap: Johannes Berg <johannes.berg@intel.com>
2011-11-16 16:36:40 +02:00
..
Makefile P2P: Add initial version of P2P Module 2010-09-09 07:17:17 -07:00
p2p_build.c P2P: Allow advertisement config methods to be limited 2011-09-08 16:48:06 +03:00
p2p_dev_disc.c P2P: Embed publically visible struct in peer info 2011-02-24 21:51:17 +02:00
p2p_go_neg.c P2P: Advertise Persistent Reconnect group capability 2011-10-24 17:29:37 +03:00
p2p_group.c P2P: Deal with a peer associating while connected 2011-11-16 16:36:40 +02:00
p2p_i.h P2P: Wait until ongoing scan completes before starting P2P find 2011-11-15 21:28:35 +02:00
p2p_invitation.c P2P: Embed publically visible struct in peer info 2011-02-24 21:51:17 +02:00
p2p_parse.c P2P: Store more WPS attributes for peers 2011-03-28 15:27:10 +03:00
p2p_pd.c P2P: Add callback for provision discovery failure 2011-06-12 14:26:22 -07:00
p2p_sd.c Move GAS/ANQP build routines to a separate file from P2P 2011-09-29 22:18:46 +03:00
p2p_utils.c P2P: Reject multi-channel concurrent operations depending on driver 2010-10-14 14:24:56 +03:00
p2p.c P2P: Wait until ongoing scan completes before starting P2P find 2011-11-15 21:28:35 +02:00
p2p.h P2P: Wait until ongoing scan completes before starting P2P find 2011-11-15 21:28:35 +02:00