Wlan: Fix for device not entering into BMPS mode

Fix for device not entering into BMPS mode once DUT is out
of MCC mode. Issue was due to BMPS timer was stopped during MCC
mode and did not got triggered after exiting from BMPS mode.

Change-Id: I0b55ea7b06d3134e1d8d6c69b007b5e7b1123b58
CRs-Fixed: 489154
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index 7fee249..cf2f5b8 100644
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -6631,6 +6631,13 @@
    return status;
 }
 
+/*
+ * API to find if there is any STA or P2P-Client is connected
+ */
+VOS_STATUS hdd_issta_p2p_clientconnected(hdd_context_t *pHddCtx)
+{
+    return sme_isSta_p2p_clientConnected(pHddCtx->hHal);
+}
 
 //Register the module init/exit functions
 module_init(hdd_module_init);