update core/authentication/src/auth_session_message.c.

Signed-off-by: ym <yuanmeng36@huawei.com>
This commit is contained in:
ym 2024-11-20 02:36:39 +00:00 committed by Gitee
parent cf1fed78ec
commit 1393e8060a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -87,7 +87,7 @@ static int32_t PostBtV1DevId(int64_t authSeq, const AuthSessionInfo *info)
{
if (!info->isServer) {
AUTH_LOGE(AUTH_FSM, "client don't send Bt-v1 devId");
return SOFTBUS_NETWORK_NOT_SUPPORT;
return SOFTBUS_AUTH_NOT_NEED_SEND_V1_DEV_ID;
}
char uuid[UUID_BUF_LEN] = {0};
if (LnnGetLocalStrInfo(STRING_KEY_UUID, uuid, UUID_BUF_LEN) != SOFTBUS_OK) {
@ -101,7 +101,7 @@ static int32_t PostWifiV1DevId(int64_t authSeq, const AuthSessionInfo *info)
{
if (!info->isServer) {
AUTH_LOGE(AUTH_FSM, "client don't send wifi-v1 devId");
return SOFTBUS_NETWORK_NOT_SUPPORT;
return SOFTBUS_AUTH_NOT_NEED_SEND_V1_DEV_ID;
}
char *msg = PackDeviceIdJson(info);
if (msg == NULL) {