/* DTS Stop function. * Stop Transport driver, ie DXE, SDIO * Parameters: * pContext:Cookie that should be passed back to the caller along with the callback. * Return Value: SUCCESS Completed successfully. * FAILURE_XXX Request was rejected due XXX Reason. * */ wpt_status WDTS_Stop(void *pContext) { void *pDTDriverContext = WDT_GetTransportDriverContext(pContext); wpt_status status = eWLAN_PAL_STATUS_SUCCESS; status = gTransportDriver.stop(pDTDriverContext); return status; }
/* DTS Stop function. * Stop Transport driver, ie DXE, SDIO * Parameters: * pContext:Cookie that should be passed back to the caller along with the callback. * Return Value: SUCCESS Completed successfully. * FAILURE_XXX Request was rejected due XXX Reason. * */ wpt_status WDTS_Stop(void *pContext) { void *pDTDriverContext = WDT_GetTransportDriverContext(pContext); wpt_status status = eWLAN_PAL_STATUS_SUCCESS; status = gTransportDriver.stop(pDTDriverContext); wpalMemoryZero(&gDsTrafficStats, sizeof(gDsTrafficStats)); return status; }