diff --git a/system/bta/hh/bta_hh_le.cc b/system/bta/hh/bta_hh_le.cc index 78540c50e321c10c9f6722510ba2894ab17c00e7..7c79a0054eff5f54dd3d98bf55d7008892075fb5 100644 --- a/system/bta/hh/bta_hh_le.cc +++ b/system/bta/hh/bta_hh_le.cc @@ -1098,6 +1098,7 @@ void bta_hh_start_security(tBTA_HH_DEV_CB* p_cb, /* if link has been encrypted */ if (sec_flag & BTM_SEC_FLAG_ENCRYPTED) { + p_cb->status = BTA_HH_OK; bta_hh_sm_execute(p_cb, BTA_HH_ENC_CMPL_EVT, NULL); } /* if bonded and link not encrypted */