wlan: Exit BMPS when host sends DEL_STA msg to firmware
As firmware cannot handle DEL_SELF_STA msg in BMPS state
host will do exit bmps and then will send DEL_STA msg.
Change-Id: I7d70ab3df475084383779503066c9316ca10b0ef
CRs-Fixed: 498124
diff --git a/CORE/SME/src/sme_common/sme_Api.c b/CORE/SME/src/sme_common/sme_Api.c
index 41910e5..fcaa918 100644
--- a/CORE/SME/src/sme_common/sme_Api.c
+++ b/CORE/SME/src/sme_common/sme_Api.c
@@ -8284,16 +8284,6 @@
}
/* ---------------------------------------------------------------------------
- \fn sme_IsPmcBmps
- \API to Check if PMC state is BMPS.
-
- \- return v_BOOL_t
- -------------------------------------------------------------------------*/
-v_BOOL_t sme_IsPmcBmps(tHalHandle hHal)
-{
- return (BMPS == pmcGetPmcState(hHal));
-}
-/* ---------------------------------------------------------------------------
\fn sme_SetTdlsPowerSaveProhibited
\API to set/reset the isTdlsPowerSaveProhibited.
@@ -8307,6 +8297,17 @@
return;
}
#endif
+/* ---------------------------------------------------------------------------
+ \fn sme_IsPmcBmps
+ \API to Check if PMC state is BMPS.
+
+ \- return v_BOOL_t
+ -------------------------------------------------------------------------*/
+v_BOOL_t sme_IsPmcBmps(tHalHandle hHal)
+{
+ return (BMPS == pmcGetPmcState(hHal));
+}
+
#ifdef FEATURE_WLAN_TDLS_INTERNAL
/*
* SME API to start TDLS discovery Procedure