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

Commit e78b5339 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Make GATT client and server assumption about addres type in open identical

When attempting to open GATT server to device of unknown type, it should
make same assumption about the type as GATT client, which is LE device.

Test: compilation test
Bug: 62827460
Change-Id: Ic96de97445a843ef3c482fd5b54098b325fb0f9c
parent ceb72443
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -315,10 +315,6 @@ static void btif_gatts_open_impl(int server_if, bt_bdaddr_t address,
        else
          transport = BTA_GATT_TRANSPORT_BR_EDR;
        break;

      default:
        BTIF_TRACE_ERROR("%s: Invalid device type %d", __func__, device_type);
        return;
    }
  }