OSDN Git Service

Update btif_profile_queue to use the list data structure.
authorSharvil Nanavati <sharvil@google.com>
Sat, 26 Apr 2014 06:16:01 +0000 (23:16 -0700)
committerSharvil Nanavati <sharvil@google.com>
Wed, 7 May 2014 22:05:41 +0000 (22:05 +0000)
commit3542d5a93129b6a8026501f87877017173530ae0
tree4ebd3fb47f52b627340d333b6eb3fbcac061e4e6
parentcef7695cb3c0e1a5d462deac6508ade2726918cf
Update btif_profile_queue to use the list data structure.

The profile queue maintains a list of pending connect operations
for each profile. If a connect is followed by a disconnect before
the queued connect is dispatched, the disconnect will have no
effect and the connect will proceed.

This code clearly needs to be re-thought; it may be a good idea to
abandon the connect queue entirely in the long-run.

Change-Id: Ic0e85654abcf7a47f65953edb301eb9524394950
btif/include/btif_profile_queue.h
btif/src/btif_profile_queue.c