system/bt
修订版 | 1655984bf128ba02da7ed2d7f4fa66a05a180e33 (tree) |
---|---|
时间 | 2019-11-14 13:21:26 |
作者 | Aiswarya Cyriac <aiswarya.cyriac@inte...> |
Commiter | Chih-Wei Huang |
Fix for BLE pairing failure in slave role
Pairing fails due to DHkey mismatch and this fix address the
mismatch
Change-Id: Ie09f6c4ef3e70cce3f3b57858b6e8945eb65e63c
Tracked-On:https://jira01.devtools.intel.com/browse/OAM-57377
Signed-Off-by: Aiswarya Cyriac <aiswarya.cyriac@intel.com>
@@ -34,6 +34,7 @@ | ||
34 | 34 | #include "ble_advertiser.h" |
35 | 35 | #include "ble_advertiser_hci_interface.h" |
36 | 36 | #include "btm_int_types.h" |
37 | +#include "btm_int.h" | |
37 | 38 | |
38 | 39 | using base::Bind; |
39 | 40 | using base::TimeDelta; |
@@ -211,7 +212,7 @@ class BleAdvertisingManagerImpl | ||
211 | 212 | bda.address[5] = output.param_buf[0]; |
212 | 213 | bda.address[4] = output.param_buf[1]; |
213 | 214 | bda.address[3] = output.param_buf[2]; |
214 | - | |
215 | + memcpy(&btm_cb.ble_ctr_cb.addr_mgnt_cb.private_addr,bda.address,6); | |
215 | 216 | cb.Run(bda); |
216 | 217 | } |
217 | 218 |