TDLS: Do not send error case of TPK M3 if TX fails
authorSunil Dutt <usdutt@qti.qualcomm.com>
Tue, 20 Oct 2015 04:20:51 +0000 (09:50 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 26 Oct 2015 20:54:39 +0000 (22:54 +0200)
commitf67d1a009963e9d7c3071950e77237a9d290e4eb
treea78aba1bee5ad1cd698e9f61ac4dbbecd3b8124c
parent9cd8859ed6e8b3b70c4212127f921c51ba0661b3
TDLS: Do not send error case of TPK M3 if TX fails

There is no point in sending TPK M3 (TDLS Setup Confirm) with a failure
status if the first transmission attempt fails. Instead, just return a
failure by disabling the link rather than retransmitting the TPK M3
frame with an error status.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/rsn_supp/tdls.c