system/bt
Revision | 9a556c930924d8a0cd0911107f5a59a64287462a (tree) |
---|---|
Zeit | 2017-06-07 16:44:18 |
Autor | android-build-team Robot <android-build-team-robot@goog...> |
Commiter | android-build-team Robot |
release-request-0ddf2eab-ecaa-4014-951f-9236b1e43859-for-git_oc-release-4075595 snap-temp-L43000000071370789
Change-Id: I3204b0e94b50a17d4d907a0adbdfccaa46b92e87
@@ -134,13 +134,13 @@ void BTA_GATTC_AppDeregister(tBTA_GATTC_IF client_if) { | ||
134 | 134 | void BTA_GATTC_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, bool is_direct, |
135 | 135 | tBTA_GATT_TRANSPORT transport, bool opportunistic) { |
136 | 136 | uint8_t phy = controller_get_interface()->get_le_all_initiating_phys(); |
137 | - BTA_GATTC_Open(client_if, remote_bda, is_direct, transport, phy, | |
138 | - opportunistic); | |
137 | + BTA_GATTC_Open(client_if, remote_bda, is_direct, transport, opportunistic, | |
138 | + phy); | |
139 | 139 | } |
140 | 140 | |
141 | 141 | void BTA_GATTC_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, bool is_direct, |
142 | - tBTA_GATT_TRANSPORT transport, uint8_t initiating_phys, | |
143 | - bool opportunistic) { | |
142 | + tBTA_GATT_TRANSPORT transport, bool opportunistic, | |
143 | + uint8_t initiating_phys) { | |
144 | 144 | tBTA_GATTC_API_OPEN* p_buf = |
145 | 145 | (tBTA_GATTC_API_OPEN*)osi_malloc(sizeof(tBTA_GATTC_API_OPEN)); |
146 | 146 |
@@ -643,7 +643,7 @@ extern void BTA_GATTC_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, | ||
643 | 643 | bool opportunistic); |
644 | 644 | extern void BTA_GATTC_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, |
645 | 645 | bool is_direct, tBTA_GATT_TRANSPORT transport, |
646 | - uint8_t initiating_phys, bool opportunistic); | |
646 | + bool opportunistic, uint8_t initiating_phys); | |
647 | 647 | |
648 | 648 | /******************************************************************************* |
649 | 649 | * |
@@ -310,7 +310,8 @@ void btif_gattc_open_impl(int client_if, BD_ADDR address, bool is_direct, | ||
310 | 310 | // Connect! |
311 | 311 | BTIF_TRACE_DEBUG("%s Transport=%d, device type=%d, phy=%d", __func__, |
312 | 312 | transport, device_type, initiating_phys); |
313 | - BTA_GATTC_Open(client_if, address, is_direct, transport, initiating_phys); | |
313 | + BTA_GATTC_Open(client_if, address, is_direct, transport, false, | |
314 | + initiating_phys); | |
314 | 315 | } |
315 | 316 | |
316 | 317 | bt_status_t btif_gattc_open(int client_if, const bt_bdaddr_t* bd_addr, |