Fix the malfunction of bonding 03/207603/1
authorinjun.yang <injun.yang@samsung.com>
Mon, 1 Apr 2019 00:27:05 +0000 (09:27 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 10 Jun 2019 02:42:38 +0000 (11:42 +0900)
commit6ff94ec5596118113532636b27ca3b014718f255
tree9eb805601869963d4ac5bab668b67d6d1a3b54d4
parent480ed4874beea5b177e69a0f4849cccafce778ba
Fix the malfunction of bonding

[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] When app request bt_device_create_bond(), host initiate BT pairing instead of BLE pairing
[Cause & Measure] Till now, bluez didn't check the link status.
 Even though BLE connected, bluez initiate BT pairing.
 To prevent the malfunction, bluez will check the link type also.
[Checking Method] Initiate pairing

[Team] IoT Hub
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I5dbcc0a827ccc566b15490d3f1edc31acbac949c
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/device.c