Fix for device not coming to BMPS after teardown TDLS link
Once the TDLS link is up, the device goes into FULL_POWER mode
and never comes to BMPS mode even after all the TDLS links are
torn down.
Set the pmcState to FULL_POWER at the time of TDLS_ENABLE_LINK
and resets to BMPS mode after all the TDLS links are torn down.
CRs-Fixed: 452166
Change-Id: I3e2a25dca8d10fbf901ae739384c16e98f9abb60
diff --git a/CORE/SME/inc/csrInternal.h b/CORE/SME/inc/csrInternal.h
index 3d29840..c91b76c 100644
--- a/CORE/SME/inc/csrInternal.h
+++ b/CORE/SME/inc/csrInternal.h
@@ -737,28 +737,25 @@
tANI_BOOLEAN fIgnore_chan165;
}tCsrScanStruct;
-#ifdef FEATURE_WLAN_TDLS
+#ifdef FEATURE_WLAN_TDLS_INTERNAL
/*
* struct to carry TDLS discovery info..
*/
typedef struct sCsrTdlsContext
{
-#ifdef FEATURE_WLAN_TDLS_INTERNAL
tDblLinkList tdlsPotentialPeerList ;
tANI_U16 tdlsCommonFlag ;
tANI_U16 tdlsCommonState ;
-#endif
tANI_U16 tdlsPeerCount ;
}tCsrTdlsCtxStruct;
-#ifdef FEATURE_WLAN_TDLS_INTERNAL
typedef struct sCsrTdlsPeerLinkInfo
{
tListElem tdlsPeerStaLink ;
tSirTdlsPeerInfo tdlsDisPeerInfo ;
}tCsrTdlsPeerLinkinfo ;
#endif
-#endif
+