OSDN Git Service

Initialize white list size after stack reset
authorPriti Aghera <paghera@broadcom.com>
Sat, 18 Apr 2015 01:11:24 +0000 (18:11 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Tue, 21 Apr 2015 04:42:42 +0000 (21:42 -0700)
commitb8b3e8070ad027e7a45ca5048ae807c4ec099b15
tree9a6de7e440fe74d99d20e637366c0fbce97a2a5c
parenta9962ce69ef78a4720183c70deb5db8cfbc70cf0
Initialize white list size after stack reset

The white list size is not currently set correctly, preventing devices
from being added to the LE whitelist, thus completely breaking
re-connects.

This fixes the white list management and propagates the correct reason
code for HID close events to make sure a device is re-added to the white
list if necessary.

Bug: 20290744
Change-Id: I46d7254ff3568c9964688cb192b9deb6b7d3062d
bta/gatt/bta_gattc_act.c
bta/jv/bta_jv_act.c
bta/sdp/bta_sdp_act.c
device/include/controller.h
device/src/controller.c
stack/btm/btm_ble_bgconn.c
stack/btm/btm_ble_gap.c
stack/btm/btm_ble_int.h
stack/btm/btm_devctl.c