|
@@ -1154,33 +1154,15 @@ QDF_STATUS wlansap_disassoc_sta(struct sap_context *pSapCtx,
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
- * wlansap_deauth_sta() - Ap App/HDD initiated deauthentication of station
|
|
|
- * @pCtx : Pointer to the global cds context; a handle to SAP's
|
|
|
- * control block can be extracted from its context
|
|
|
- * When MBSSID feature is enabled, SAP context is directly
|
|
|
- * passed to SAP APIs
|
|
|
- * @pDelStaParams : Pointer to parameters of the station to deauthenticate
|
|
|
- *
|
|
|
- * This api function provides for Ap App/HDD initiated deauthentication of
|
|
|
- * station
|
|
|
- *
|
|
|
- * Return: The QDF_STATUS code associated with performing the operation
|
|
|
- */
|
|
|
-QDF_STATUS wlansap_deauth_sta(void *pCtx,
|
|
|
+QDF_STATUS wlansap_deauth_sta(struct sap_context *pSapCtx,
|
|
|
struct tagCsrDelStaParams *pDelStaParams)
|
|
|
{
|
|
|
QDF_STATUS qdf_ret_status = QDF_STATUS_E_FAILURE;
|
|
|
QDF_STATUS qdf_status = QDF_STATUS_E_FAULT;
|
|
|
- struct sap_context *pSapCtx = CDS_GET_SAP_CB(pCtx);
|
|
|
|
|
|
- /*------------------------------------------------------------------------
|
|
|
- Sanity check
|
|
|
- Extract SAP control block
|
|
|
- ------------------------------------------------------------------------*/
|
|
|
if (NULL == pSapCtx) {
|
|
|
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR,
|
|
|
- "%s: Invalid SAP pointer from pCtx", __func__);
|
|
|
+ "%s: Invalid SAP pointer", __func__);
|
|
|
return qdf_status;
|
|
|
}
|
|
|
|