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

Commit 4452931c authored by Myles Watson's avatar Myles Watson
Browse files

bta: Report hardware features when VSC not supported

Bug: 201435522
Test: atest BluetoothInstrumentationTest
Tag: #feature
Change-Id: Iaf14090feac82e4c5015903d4cf6851560ba0ab9
parent 344b09fa
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -394,6 +394,9 @@ void BTA_dm_on_hw_on() {
   * when capabilities are read. If they are not available, initialize
   * when capabilities are read. If they are not available, initialize
   * advertising here */
   * advertising here */
  btm_ble_adv_init();
  btm_ble_adv_init();
  /* Set controller features even if vendor support is not included */
  if (bta_dm_cb.p_sec_cback)
    bta_dm_cb.p_sec_cback(BTA_DM_LE_FEATURES_READ, NULL);
#endif
#endif


  /* Earlier, we used to invoke BTM_ReadLocalAddr which was just copying the
  /* Earlier, we used to invoke BTM_ReadLocalAddr which was just copying the