OSDN Git Service

GAP: Try to retrieve CoD from NVRAM if 0
authorHemant Gupta <hemantg@codeaurora.org>
Thu, 28 Nov 2013 07:37:10 +0000 (13:07 +0530)
committerMatthew Xie <mattx@google.com>
Tue, 6 May 2014 08:14:24 +0000 (01:14 -0700)
commitdda369e3a6b39c7df25072fc880fbd4903553f5c
treee45209cd79788ec4da8f8038a730e60972d26610
parent5861cc903acddca8ef15f071c59251d62719dba7
GAP: Try to retrieve CoD from NVRAM if 0

This patch tries to retreive CoD from NVRAM if CoD is 0. This is
because in scenarios when airplane mode on/off, inquiry is not
performed again on devices shown in Available devices List of
UI, so CoD is 0 during SSP information as database of stack is
not properly updated since inquiry is not performed again. Without
this patch it was observed because of wrong CoD info device icon
for HID mouse was changed to Joystick and device is not shown in
Paired List. Also some extra debug logs are added in code for
better debugging.

Change-Id: I14858ccee04728cb4b9cd60d397b79fa6494b842
btif/src/btif_dm.c