OSDN Git Service

Remove stored link key for temporarily paired devices
authorSrinu Jella <sjella@codeaurora.org>
Tue, 2 Sep 2014 10:12:11 +0000 (15:42 +0530)
committerAndre Eisenbach <eisenbach@google.com>
Tue, 7 Jul 2015 05:07:36 +0000 (22:07 -0700)
commitf1029c7afb9b4c9fcf95b3f98ce9c68b10d5a02c
tree04f583c378f4f9b7dc3fae3ad1a979760c095e9e
parent1192df9f7e709b9d9508ac86cbf5099a3a7ffa0e
Remove stored link key for temporarily paired devices

Problem: Device shows up in paired list during just work pairing

1. Create a connection from DUT to remote.
2. Remove the link key in remote.
3. Send a file from remote to DUT.
4. Turn OFF BT. Turn ON.

Failure: Device should not move to paired list after BT on/off
as device removed from UI during just work pairing

Root cause: remote device is not removed from btif but
its removed from UI during justworks pairing

Fix: remote device is removed from btif during justworks
pairing to sync up UI and btif paired list

Bug: 19417758
Change-Id: I73de0a94c4f7ada644d258790a9e3e4bf11fc4e5
btif/include/btif_storage.h
btif/src/btif_dm.c
btif/src/btif_storage.c