P2P: Fix RX ack status on Action frames sent via interface in GO mode

The wpa_supplicant_event() EVENT_TX_STATUS ack field needs to be
converted to use wpas_send_action_tx_status()
enum p2p_send_action_result in this case, too, to avoid getting
incorrect TX status for P2P processing.
This commit is contained in:
Albert Liu 2010-11-24 14:25:33 +02:00 committed by Jouni Malinen
parent 08704cd885
commit 1d39378a0b

View file

@ -1747,7 +1747,9 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
wpa_s->parent, data->tx_status.dst,
data->tx_status.data,
data->tx_status.data_len,
data->tx_status.ack);
data->tx_status.ack ?
P2P_SEND_ACTION_SUCCESS :
P2P_SEND_ACTION_NO_ACK);
break;
}
#endif /* CONFIG_P2P */