Bluetooth: Fix IRK dstribution issue when Privacy is disabled 92/98992/4 accepted/tizen/mobile/20161123.000107 submit/tizen/20161122.062721
authorh.sandeep <h.sandeep@samsung.com>
Mon, 21 Nov 2016 10:23:26 +0000 (15:53 +0530)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 22 Nov 2016 05:44:40 +0000 (14:44 +0900)
commit5ce9a064d53f4567aad1977818ec5388c05684f7
tree496f038a52a313ee48f6bb3feea37dd161ad6d4f
parent4d7bf53b8dea440ab5c395e83e71a3e69cae9e7d
Bluetooth: Fix IRK dstribution issue when Privacy is disabled

The devices, like Android 6.x, which don't support privacy 1.2
couldn't make BLE connection to the device which doesn't distribute
IRK when pairing because they use use wrong address type.
For compatibility, it needs to distribute IRK even though Privacy
feature is disabled. So setting IRK interface is added and BlueZ
will set IRK if privacy feature is disabled. And when BLE pairing,
IRK will be always distributed.

Change-Id: I196b6e726bff3a396ba040201c760f74ddfba946
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
net/bluetooth/smp.c