OSDN Git Service

Fix for fugu build
authorJakub Pawlowski <jpawlowski@google.com>
Tue, 13 Jun 2017 23:41:45 +0000 (16:41 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Tue, 13 Jun 2017 23:41:45 +0000 (16:41 -0700)
Test: compilation with BLE_PRIVACY_SPT=TRUE
Change-Id: I1765ad009368077bb4c0be9673a27a9df428f41f

stack/btm/btm_acl.cc

index 157261b..26d2ba9 100644 (file)
@@ -221,7 +221,7 @@ void btm_acl_created(const bt_bdaddr_t& bda, DEV_CLASS dc, BD_NAME bdn,
             bda, btm_cb.ble_ctr_cb.addr_mgnt_cb.private_addr);
 #else
       p->conn_addr_type = BLE_ADDR_PUBLIC;
-      p->conn_addr = &controller_get_interface()->get_address();
+      p->conn_addr = *controller_get_interface()->get_address();
 
 #endif
       p->switch_role_state = BTM_ACL_SWKEY_STATE_IDLE;