fragattacks/src
Jithu Jance 5cfda25e44 P2P: Indicate GO Negotiation failure on peer expiration
If P2P device expires while a GO Negotiation is in progress, currently
p2p->go_neg_peer is cleared without indicating GO Nego failure. This
will result in pending group interfaces to be left over. This patch will
indicate GO Negotiation failure and will remove any pending group
interfaces.

This patch addresses a corner case in GO-Negotiation case. Consider the
scenario where two devices A and B are in discovery stage and Device B
vanishes [moves out of range] when a connect is issued on the Device A.
Then Device A keeps on retrying the GO Negotiation Request till the
retry limit is reached. On reaching retry limit, the pending group
interface is removed. But suppose if the peer entry in the device list
expires before the retry limit is reached, then pending group interface
was not removed.

Signed-off-by: Jithu Jance <jithu@broadcom.com>
2011-11-18 23:13:03 +02:00
..
ap Mark local functions static 2011-11-18 21:53:36 +02:00
common Remove incorrect le16 type cast 2011-11-18 21:39:10 +02:00
crypto Use NULL instead of 0 for pointers 2011-11-18 22:07:30 +02:00
drivers nl80211: Get rid of family/cache objects 2011-11-16 16:42:49 +02:00
eap_common PEAP: Verify peap_prfplus() result 2011-11-13 11:29:17 +02:00
eap_peer Make phase2_method initialization easier for static analyzers 2011-11-13 22:47:14 +02:00
eap_server Use a single define for maximum number of EAP methods 2011-11-17 20:06:33 +02:00
eapol_auth Make sure that EAP callbacks are not done if state machine has been removed 2011-08-12 11:56:44 +03:00
eapol_supp Use an enum for EAP SM requests 2011-10-30 12:04:24 +02:00
l2_packet l2_packet: Use wpa_printf() instead of perror() 2010-11-24 15:00:22 +02:00
p2p P2P: Indicate GO Negotiation failure on peer expiration 2011-11-18 23:13:03 +02:00
radius Make radius_msg_add_attr_user_password() easier for static analyzers 2011-11-13 23:14:57 +02:00
rsn_supp Remove unnecessary include file inclusion 2011-11-13 22:13:04 +02:00
tls Use NULL instead of 0 for pointers 2011-11-18 22:07:30 +02:00
utils Use NULL instead of 0 for pointers 2011-11-18 22:07:30 +02:00
wps Use NULL instead of 0 for pointers 2011-11-18 22:07:30 +02:00
lib.rules Add rules for building src/crypto as a library 2009-12-05 22:03:46 +02:00
Makefile P2P: Add initial version of P2P Module 2010-09-09 07:17:17 -07:00