OSDN Git Service

Allow BT inquiry while discovery is in progress.
authortturney <tturney@google.com>
Tue, 8 Sep 2015 21:42:09 +0000 (14:42 -0700)
committerScott James Remnant <keybuk@google.com>
Mon, 19 Oct 2015 17:35:06 +0000 (10:35 -0700)
commit20a1555a0665efaab69ff25b3e7842d5f6c110c8
tree524459114fd70b6d2f401cab23fcdeb9e0b2b95c
parent7b4fdb40e81a68d254f6bf7cefbc385d978fb9d0
Allow BT inquiry while discovery is in progress.

BT Inquiry is disallowed when service discovery
is in progress. Innitially when GATT discovery
is in progress (crosskey pairing), it resulted
in inquiry requests being rejected. During an
insecure connection like OPP, bonding link key
is not stored. In an earlier patch (b820aec7),
BR/EDR discovery was bypassed if the bonding was
temporary. However, this was not done for LE.
Applying the same logic to LE, resolved the
inquiry issue reported in this bug.

Bug: 23468169
Change-Id: I6111c80a420aeb0bc36a0393eb215c112512d251
btif/src/btif_dm.c