Bluetooth: Set filter policy for LE connection 59/87459/7
authorSudha Bheemanna <b.sudha@samsung.com>
Thu, 8 Sep 2016 05:51:06 +0000 (11:21 +0530)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 29 Sep 2016 05:14:51 +0000 (14:14 +0900)
commit5f130da7b6a7d3269728f6971573c78bc86a5cae
tree88a078930fee7dc1d05006f2103601c8c3f2bde5
parent4919e9d6040be1236a5e1fa0fac6acc13bea951a
Bluetooth: Set filter policy for LE connection

This patch sets the filter policy to a default value 0x01 during
LE auto connection if the destination address is not set. And it
updates the destination address once the LE connection complete
event is recieved during LE auto connection. And for it checks
valid destination address before cancelling LE connection when
connection timeout occurs.

Change-Id: I9877556c0b0ab4826f5f4934ead4d85b7837036d
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
[squash patches, LE connection policy, set dest address and check dest address before cancelling connection]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
net/bluetooth/hci_conn.c
net/bluetooth/hci_event.c