!115 Fix L1 non blocking IPC call problem

Merge pull request !115 from 符子坤/master
This commit is contained in:
openharmony_ci
2021-12-03 06:12:41 +00:00
committed by Gitee
+2 -2
View File
@@ -77,8 +77,8 @@ void CbProxySendRequest(SvcIdentity sid, int32_t callbackId, uintptr_t cbHook, I
HcFree((void *)reqData);
return;
}
int32_t callFlag = ((reply != NULL) ? 0 : 1);
callFlag = 0;
/* callFlag: ipc mode is blocking or non blocking. */
int32_t callFlag = ((reply != NULL) ? LITEIPC_FLAG_DEFAULT : LITEIPC_FLAG_ONEWAY);
ret = SendRequest(NULL, sid, DEV_AUTH_CALLBACK_REQUEST, reqData, &replyTmp, callFlag, &outMsg);
LOGI("SendRequest(%d) done, return(%d)", callFlag, ret);
HcFree((void *)reqData);