OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a3c936e
)
am 7475a509: Bluetooth: Adds SMP response timer for security request
author
Nitin Arora
<niarora@codeaurora.org>
Fri, 11 Jul 2014 01:40:17 +0000
(
01:40
+0000)
committer
Android Git Automerger
<android-git-automerger@android.com>
Fri, 11 Jul 2014 01:40:17 +0000
(
01:40
+0000)
* commit '
7475a5098339d763aa6e3a0374ee2f1c16e002c4
':
Bluetooth: Adds SMP response timer for security request
stack/smp/smp_act.c
patch
|
blob
|
history
diff --git
a/stack/smp/smp_act.c
b/stack/smp/smp_act.c
index
1f1eb6e
..
04c3a80
100644
(file)
--- a/
stack/smp/smp_act.c
+++ b/
stack/smp/smp_act.c
@@
-338,6
+338,9
@@
void smp_proc_sec_req(tSMP_CB *p_cb, tSMP_INT_DATA *p_data)
p_cb->peer_auth_req = auth_req;
p_cb->loc_r_key = p_cb->loc_i_key = SMP_SEC_DEFAULT_KEY ;
p_cb->cb_evt = SMP_SEC_REQUEST_EVT;
+ btu_stop_timer (&p_cb->rsp_timer_ent);
+ btu_start_timer (&p_cb->rsp_timer_ent, BTU_TTYPE_SMP_PAIRING_CMD,
+ SMP_WAIT_FOR_RSP_TOUT);
break;
case BTM_BLE_SEC_REQ_ACT_DISCARD: