VOS_STATUS bapRsnRegisterRxCallback( v_PVOID_t pvosGCtx ) { VOS_STATUS status; status = WLANTL_RegisterBAPClient( pvosGCtx, WLANBAP_RxCallback, WLANBAP_TLFlushCompCallback ); if( !VOS_IS_STATUS_SUCCESS( status ) ) { if( VOS_STATUS_E_EXISTS != status ) { VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "bapRsnRegisterRxCallback failed with status = %d\n", status ); } else { //We consider it ok to register it multiple times because only BAP's RSN should call this status = VOS_STATUS_SUCCESS; } } return ( status ); }
VOS_STATUS bapRsnRegisterRxCallback( v_PVOID_t pvosGCtx ) { VOS_STATUS status; status = WLANTL_RegisterBAPClient( pvosGCtx, WLANBAP_RxCallback, WLANBAP_TLFlushCompCallback ); if( !VOS_IS_STATUS_SUCCESS( status ) ) { if( VOS_STATUS_E_EXISTS != status ) { VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "bapRsnRegisterRxCallback failed with status = %d\n", status ); } else { // status = VOS_STATUS_SUCCESS; } } return ( status ); }