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:
dd14e89
)
BT_BOND: Report repeated_attempts failure to application
author
juncao
<juncao@codeaurora.org>
Wed, 15 Mar 2017 10:53:24 +0000
(18:53 +0800)
committer
Gerrit - the friendly Code Review server
<code-review@localhost>
Thu, 16 Mar 2017 02:39:53 +0000
(19:39 -0700)
This change will ensure BT stack to send repeated attempts
failure reason code to upper application.
Change-Id: Id0d5a323daabcd0a50193bb7bc6fde18fde3c5ad
CRs-Fixed:
2020250
btif/src/btif_dm.c
patch
|
blob
|
history
diff --git
a/btif/src/btif_dm.c
b/btif/src/btif_dm.c
index
293a75c
..
5b9154f
100644
(file)
--- a/
btif/src/btif_dm.c
+++ b/
btif/src/btif_dm.c
@@
-1398,6
+1398,7
@@
static void btif_dm_auth_cmpl_evt (tBTA_DM_AUTH_CMPL *p_auth_cmpl)
case HCI_ERR_INSUFFCIENT_SECURITY:
case HCI_ERR_PEER_USER:
case HCI_ERR_UNSPECIFIED:
+ case HCI_ERR_REPEATED_ATTEMPTS:
BTIF_TRACE_DEBUG(" %s() Authentication fail reason %d",
__FUNCTION__, p_auth_cmpl->fail_reason);
if (pairing_cb.autopair_attempts == 1)