component/bt:Fixted the bug of HCI comment timeout error.
1. remove the SMP_INCLUDED == TRUE insite the btm_find_dev_by_handle function. 2. change the Kconfig with BT_ACL_CONNECTIONS
This commit is contained in:
@@ -396,7 +396,6 @@ BOOLEAN btm_dev_support_switch (BD_ADDR bd_addr)
|
||||
*******************************************************************************/
|
||||
tBTM_SEC_DEV_REC *btm_find_dev_by_handle (UINT16 handle)
|
||||
{
|
||||
#if (SMP_INCLUDED == TRUE)
|
||||
tBTM_SEC_DEV_REC *p_dev_rec = &btm_cb.sec_dev_rec[0];
|
||||
int i;
|
||||
|
||||
@@ -410,7 +409,6 @@ tBTM_SEC_DEV_REC *btm_find_dev_by_handle (UINT16 handle)
|
||||
return (p_dev_rec);
|
||||
}
|
||||
}
|
||||
#endif ///SMP_INCLUDED == TRUE
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user