if (!hci_is_identity_address(addr, addr_type))
return NULL;
- list_for_each_entry(param, &hdev->pend_le_conns, pend_le_conn) {
+ list_for_each_entry(param, &hdev->pend_le_conns, action) {
if (bacmp(¶m->addr, addr) == 0 &&
param->addr_type == addr_type)
return param;
/* This function requires the caller holds hdev->lock */
void hci_pend_le_conn_add(struct hci_dev *hdev, struct hci_conn_params *params)
{
- list_del_init(¶ms->pend_le_conn);
- list_add(¶ms->pend_le_conn, &hdev->pend_le_conns);
+ list_del_init(¶ms->action);
+ list_add(¶ms->action, &hdev->pend_le_conns);
BT_DBG("addr %pMR (type %u)", ¶ms->addr, params->addr_type);
/* This function requires the caller holds hdev->lock */
void hci_pend_le_conn_del(struct hci_dev *hdev, struct hci_conn_params *params)
{
- list_del_init(¶ms->pend_le_conn);
+ list_del_init(¶ms->action);
BT_DBG("addr %pMR (type %u)", ¶ms->addr, params->addr_type);
params->addr_type = addr_type;
list_add(¶ms->list, &hdev->le_conn_params);
- INIT_LIST_HEAD(¶ms->pend_le_conn);
+ INIT_LIST_HEAD(¶ms->action);
params->conn_min_interval = hdev->le_conn_min_interval;
params->conn_max_interval = hdev->le_conn_max_interval;