P2P: Skip GO Neg Conf ack failure workaround of send failures
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 19 Oct 2010 09:47:33 +0000 (12:47 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 19 Oct 2010 09:47:33 +0000 (12:47 +0300)
commit93b7ddd0320c1178cf70c9a4f5acdfde54c4c19a
tree5afe1877730c2c79740055caa55b9fa689e46c88
parent2b67a67144cace1390f37a4423063b3931d9884b
P2P: Skip GO Neg Conf ack failure workaround of send failures

The workaround to ignore no ctrl::ack received for GO Negotiation
Confirmation frame was only supposed to be used when the frame was
actually transmitted and just the ack was not received. However, due
to the way the driver failure on transmitting the frame were reported,
this ended up getting applied for all failures in sending the GO
Negotiation Confirmation frame.

Improve this by providing a mechanism to indicate whether send_action
operations fail locally before the frame was actually transmitted or
because of not receiving ack frame after having transmitted the frame.
src/p2p/p2p.c
src/p2p/p2p.h
wpa_supplicant/events.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/p2p_supplicant.h