diff --git a/core/sme/inc/sme_api.h b/core/sme/inc/sme_api.h index a29291d9fa9b..3250379721a5 100644 --- a/core/sme/inc/sme_api.h +++ b/core/sme/inc/sme_api.h @@ -873,7 +873,7 @@ QDF_STATUS sme_set_phy_mode(mac_handle_t mac_handle, eCsrPhyMode phyMode); eCsrPhyMode sme_get_phy_mode(mac_handle_t mac_handle); QDF_STATUS sme_handoff_request(mac_handle_t mac_handle, uint8_t sessionId, tCsrHandoffRequest *pHandoffInfo); -QDF_STATUS sme_is_sta_p2p_client_connected(mac_handle_t mac_handle); + QDF_STATUS sme_add_periodic_tx_ptrn(mac_handle_t mac_handle, tSirAddPeriodicTxPtrn *addPeriodicTxPtrnParams); QDF_STATUS sme_del_periodic_tx_ptrn(mac_handle_t mac_handle, diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 3a459aea9d73..04631fbc1c5d 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -8353,20 +8353,6 @@ QDF_STATUS sme_handoff_request(mac_handle_t mac_handle, return status; } -/* - * SME API to check if there is any infra station or - * P2P client is connected - */ -QDF_STATUS sme_is_sta_p2p_client_connected(mac_handle_t mac_handle) -{ - struct mac_context *mac = MAC_CONTEXT(mac_handle); - - if (csr_is_infra_connected(mac)) - return QDF_STATUS_SUCCESS; - - return QDF_STATUS_E_FAILURE; -} - /** * sme_add_periodic_tx_ptrn() - Add Periodic TX Pattern * @mac_handle: Opaque handle to the global MAC context