OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aef7a67
)
GAP:Add authentication failed error code in auth_compl_evt.
author
Hemant Gupta
<hemantg@codeaurora.org>
Tue, 7 Jan 2014 12:41:15 +0000
(18:11 +0530)
committer
Hemant Gupta
<hemantg@codeaurora.org>
Sun, 29 Jun 2014 06:41:55 +0000
(12:11 +0530)
There is an unhandle failed HCI error code when pairing with
symbian OS phone nokia n95 which will cause no prompt when
auth failed.
Change-Id: I3a37c7732d1bf71c090bb968380d8c5f0af2ff79
btif/src/btif_dm.c
patch
|
blob
|
history
diff --git
a/btif/src/btif_dm.c
b/btif/src/btif_dm.c
index
4d8c8b7
..
fd561f4
100644
(file)
--- a/
btif/src/btif_dm.c
+++ b/
btif/src/btif_dm.c
@@
-898,6
+898,10
@@
static void btif_dm_auth_cmpl_evt (tBTA_DM_AUTH_CMPL *p_auth_cmpl)
status = BT_STATUS_AUTH_REJECTED;
break;
+ case HCI_ERR_LMP_RESPONSE_TIMEOUT:
+ status = BT_STATUS_AUTH_FAILURE;
+ break;
+
/* map the auth failure codes, so we can retry pairing if necessary */
case HCI_ERR_AUTH_FAILURE:
case HCI_ERR_KEY_MISSING: