Fix connect device with clock_offset=0 fail
[Root Cause] When there are too much EIR or ble adv. the device info in inquiry db will be cleared. And when upper layer connect the device, there is no clock offset info in inquiry db and it may connect fail. [Solution] Record clock offset in config, then get it from config. Bug: 266249327 Test: bond, connect successfully Change-Id: Ifd606c5c549e3c79ed51e5b79dcfe72b4e2fe027
Showing
- system/bta/dm/bta_dm_act.cc 1 addition, 0 deletionssystem/bta/dm/bta_dm_act.cc
- system/bta/include/bta_api.h 1 addition, 0 deletionssystem/bta/include/bta_api.h
- system/btif/include/btif_config.h 2 additions, 0 deletionssystem/btif/include/btif_config.h
- system/btif/src/btif_config.cc 25 additions, 0 deletionssystem/btif/src/btif_config.cc
- system/btif/src/btif_dm.cc 6 additions, 0 deletionssystem/btif/src/btif_dm.cc
- system/stack/btm/btm_inq.cc 16 additions, 3 deletionssystem/stack/btm/btm_inq.cc
- system/test/mock/mock_btif_config.cc 10 additions, 0 deletionssystem/test/mock/mock_btif_config.cc
- system/test/mock/mock_btif_config.h 20 additions, 0 deletionssystem/test/mock/mock_btif_config.h
Loading
Please register or sign in to comment