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)
committerZhihai Xu <zhihaixu@google.com>
Mon, 21 Apr 2014 19:24:43 +0000 (19:24 +0000)
commit87b7cce18f64b1b5f1cdff81d883a5c8720ead77
treea041bb7f562c588bf7faca55b465f4ae15eba81e
parent8f322bfe42a57902e7c45713a5c6215dfbe2494a
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