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

Commit c6c2b25e authored by Chris Manton's avatar Chris Manton
Browse files

Only send ReadRemoteVersionRequest in legacy mode

gd acl can only accept an event for either classic
or le, but not both.

Bug: 166280067
Tag: #refactor
Test: act.py -tc BleCocTest
Change-Id: I719f09a380e7b75da7c40ffc136038ccaea90812
parent 75c24f09
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2201,8 +2201,11 @@ void btm_ble_read_remote_features_complete(uint8_t* p) {
    }
  }

  // TODO gd can only handle classic ReadRemoteVersionRequest not le
  if (!bluetooth::shim::is_gd_acl_enabled()) {
    btsnd_hcic_rmt_ver_req(handle);
  }
}

/*******************************************************************************
 *