wlan: Teardown TDLS link on TDLS link establish request failure
Currently, Failure response from FW for link establish request is
not honoured in HDD and thus proceeding to establish TDLS link.
Fix is to honour the failure response from FW and return error
to supplicant.
Change-Id: I07e36a36b3218517e61dc9c5827e6f8ddd0a0dbf
CRs-Fixed: 951780
diff --git a/CORE/MAC/inc/sirApi.h b/CORE/MAC/inc/sirApi.h
index 105f642..5ff54cb 100644
--- a/CORE/MAC/inc/sirApi.h
+++ b/CORE/MAC/inc/sirApi.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2015 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -4327,6 +4327,7 @@
tANI_U16 transactionId; // Transaction ID for cmd
tSirResultCodes statusCode;
tSirMacAddr peerMac;
+ tANI_U16 sta_idx;
}tSirTdlsLinkEstablishReqRsp, *tpSirTdlsLinkEstablishReqRsp;
/* TDLS Request struct SME-->PE */