summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Eisenbach <eisenbach@google.com>2014-09-10 17:27:47 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-09-10 17:27:47 +0000
commit8dedc069c0b9183ae386d2cc413b0116720ef879 (patch)
tree05326bdec54ea9db4d84384fddb9ebe7fd595e7f
parent000abb5e7be8c60c66d5ac7319362be448078121 (diff)
parentdb2bdd59473d02d195c73e2bd67adf6a03a34ed6 (diff)
downloadbluedroid-8dedc069c0b9183ae386d2cc413b0116720ef879.tar.gz
Merge "SMP doesn't detect the event of local processing taking more than SMP timeout (30 sec)" into lmp-dev
-rw-r--r--stack/smp/smp_l2c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stack/smp/smp_l2c.c b/stack/smp/smp_l2c.c
index 671f52e..63c851c 100644
--- a/stack/smp/smp_l2c.c
+++ b/stack/smp/smp_l2c.c
@@ -170,6 +170,8 @@ static void smp_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf)
if (p_cb->state != SMP_ST_RELEASE_DELAY)
{
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);
}
p_cb->rcvd_cmd_code = cmd;
p_cb->rcvd_cmd_len = (UINT8) p_buf->len;