mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2025-02-28 23:35:43 +00:00
!6472 bugfix:noly ble need check
Merge pull request !6472 from zhanghaowen/master
This commit is contained in:
commit
b6ca01312b
@ -1164,7 +1164,8 @@ static bool DeviceAuthStateProcess(FsmStateMachine *fsm, int32_t msgType, void *
|
||||
|
||||
static int32_t HandleCloseAckMessage(AuthFsm *authFsm, const AuthSessionInfo *info)
|
||||
{
|
||||
if ((SoftBusGetBrState() == BR_DISABLE) && (info->nodeInfo.feature & 1 << BIT_SUPPORT_THREE_STATE) == 0) {
|
||||
if ((info->connInfo.type == AUTH_LINK_TYPE_BLE) && (SoftBusGetBrState() == BR_DISABLE) &&
|
||||
(info->nodeInfo.feature & 1 << BIT_SUPPORT_THREE_STATE) == 0) {
|
||||
AUTH_LOGE(AUTH_FSM, "peer not support three state");
|
||||
CompleteAuthSession(authFsm, SOFTBUS_AUTH_NOT_SUPPORT_THREE_STATE);
|
||||
return SOFTBUS_ERR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user