Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9855deb authored by Hansong Zhang's avatar Hansong Zhang
Browse files

GD ACL: on_read_remote_supported_features_complete

Use OnReadRemoteExtendedFeaturesComplete callback to send it to L2cap

Tag: #gd-refactor
Bug: 141555841
Test: cert/run --host
Change-Id: I04398f308028c1419072e87a6990aab6f6be1795
parent d7014e6f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -466,7 +466,9 @@ struct classic_impl : public DisconnectorForLe, public security::ISecurityManage
  void on_read_remote_supported_features_complete(EventPacketView packet) {
    auto view = ReadRemoteSupportedFeaturesCompleteView::Create(packet);
    ASSERT_LOG(view.IsValid(), "Read remote supported features packet invalid");
    LOG_INFO("UNIMPLEMENTED called");
    uint16_t handle = view.GetConnectionHandle();
    auto& acl_connection = acl_connections_.find(handle)->second;
    acl_connection.connection_management_callbacks_->OnReadRemoteExtendedFeaturesComplete(0, 1, view.GetLmpFeatures());
  }

  void on_read_remote_extended_features_complete(EventPacketView packet) {