Loading net/bluetooth/hci_event.c +6 −10 Original line number Diff line number Diff line Loading @@ -4936,20 +4936,15 @@ static void hci_phy_link_complete_evt(struct hci_dev *hdev, hci_dev_lock(hdev); hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); if (!hcon) { hci_dev_unlock(hdev); return; } if (!hcon) goto unlock; if (!hcon->amp_mgr) { hci_dev_unlock(hdev); return; } if (!hcon->amp_mgr) goto unlock; if (ev->status) { hci_conn_del(hcon); hci_dev_unlock(hdev); return; goto unlock; } bredr_hcon = hcon->amp_mgr->l2cap_conn->hcon; Loading @@ -4966,6 +4961,7 @@ static void hci_phy_link_complete_evt(struct hci_dev *hdev, amp_physical_cfm(bredr_hcon, hcon); unlock: hci_dev_unlock(hdev); } Loading Loading
net/bluetooth/hci_event.c +6 −10 Original line number Diff line number Diff line Loading @@ -4936,20 +4936,15 @@ static void hci_phy_link_complete_evt(struct hci_dev *hdev, hci_dev_lock(hdev); hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); if (!hcon) { hci_dev_unlock(hdev); return; } if (!hcon) goto unlock; if (!hcon->amp_mgr) { hci_dev_unlock(hdev); return; } if (!hcon->amp_mgr) goto unlock; if (ev->status) { hci_conn_del(hcon); hci_dev_unlock(hdev); return; goto unlock; } bredr_hcon = hcon->amp_mgr->l2cap_conn->hcon; Loading @@ -4966,6 +4961,7 @@ static void hci_phy_link_complete_evt(struct hci_dev *hdev, amp_physical_cfm(bredr_hcon, hcon); unlock: hci_dev_unlock(hdev); } Loading