Loading system/vendor_libs/test_vendor_lib/model/controller/link_layer_controller.cc +7 −3 Original line number Diff line number Diff line Loading @@ -794,8 +794,10 @@ void LinkLayerController::IncomingIoCapabilityRequestPacket( incoming.GetDestinationAddress(), incoming.GetSourceAddress(), static_cast<uint8_t>( ErrorCode::UNSUPPORTED_REMOTE_OR_LMP_FEATURE))); security_manager_.AuthenticationRequest(incoming.GetSourceAddress(), handle, false); if (!security_manager_.AuthenticationInProgress()) { security_manager_.AuthenticationRequest(incoming.GetSourceAddress(), handle, false); } security_manager_.SetPinRequested(peer); if (properties_.IsUnmasked(EventCode::PIN_CODE_REQUEST)) { send_event_(bluetooth::hci::PinCodeRequestBuilder::Create( Loading Loading @@ -1894,7 +1896,9 @@ ErrorCode LinkLayerController::LinkKeyRequestNegativeReply( } if (properties_.GetSecureSimplePairingSupported()) { if (!security_manager_.AuthenticationInProgress()) { security_manager_.AuthenticationRequest(address, handle, false); } ScheduleTask(milliseconds(5), [this, address]() { StartSimplePairing(address); }); Loading Loading
system/vendor_libs/test_vendor_lib/model/controller/link_layer_controller.cc +7 −3 Original line number Diff line number Diff line Loading @@ -794,8 +794,10 @@ void LinkLayerController::IncomingIoCapabilityRequestPacket( incoming.GetDestinationAddress(), incoming.GetSourceAddress(), static_cast<uint8_t>( ErrorCode::UNSUPPORTED_REMOTE_OR_LMP_FEATURE))); security_manager_.AuthenticationRequest(incoming.GetSourceAddress(), handle, false); if (!security_manager_.AuthenticationInProgress()) { security_manager_.AuthenticationRequest(incoming.GetSourceAddress(), handle, false); } security_manager_.SetPinRequested(peer); if (properties_.IsUnmasked(EventCode::PIN_CODE_REQUEST)) { send_event_(bluetooth::hci::PinCodeRequestBuilder::Create( Loading Loading @@ -1894,7 +1896,9 @@ ErrorCode LinkLayerController::LinkKeyRequestNegativeReply( } if (properties_.GetSecureSimplePairingSupported()) { if (!security_manager_.AuthenticationInProgress()) { security_manager_.AuthenticationRequest(address, handle, false); } ScheduleTask(milliseconds(5), [this, address]() { StartSimplePairing(address); }); Loading