Bluetooth: Set filter policy for LE connection 77/208677/3
authorSudha Bheemanna <b.sudha@samsung.com>
Thu, 8 Sep 2016 05:51:06 +0000 (11:21 +0530)
committerAmit Purwar <amit.purwar@samsung.com>
Fri, 28 Jun 2019 04:15:04 +0000 (09:45 +0530)
commita1168d5890da34ca50c8e7de11aec79b53bfdc96
treedd10606b86ffbb54bfe8ac2fc9f605a559996a1b
parent23d3ec64494e1253885a652085d8120d4bc5f79a
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>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
net/bluetooth/hci_conn.c
net/bluetooth/hci_event.c
net/bluetooth/hci_request.c