OSDN Git Service

Remove direct connection after notifying the connection up
authorweichinweng <weichinweng@google.com>
Thu, 8 Aug 2019 09:30:07 +0000 (17:30 +0800)
committerweichinweng <weichinweng@google.com>
Thu, 8 Aug 2019 09:48:05 +0000 (17:48 +0800)
commitb67cd39b52bfec2746c379928d31cab1252f0769
tree0ac7fc7c63265dc855dfcdecbfd70055b6529b68
parent3118cdcb902dd10dbcbc6217376724bb69ac1f32
Remove direct connection after notifying the connection up

After notifying the connection up, remove direct connection related with
this device to make sure no client is directly connecting the device in
connection_manager.

Bug: 138819537
Test: 1. Repair BLE device 2. Reconnect BLE deivce
3. reboot DUT, make sure Hearing Aid can be connected.

Change-Id: I30ff7c47445ec2a3dbd9702ca79873063210e6df
stack/gatt/gatt_main.cc