gatt: Fix cancel connect
With new approach, when gatt_reconnect_on_bt_on_fix is on, p_tcb is created when connection is created. This patch make sure that device is removed from accept list when cancel connect is requested and there is no active background connect done by other application. Bug: 352816647 Bug: 325595120 Test: atest net_test_stack_gatt_native Flag: com::android::bluetooth::flags::gatt_reconnect_on_bt_on_fix Change-Id: I8dc47b38f9cf9cd69ee2a7b8d820c5e7582125b0
Loading
Please register or sign in to comment