This fixes the following trace caused by receiving HCI_EV_DISCONN_PHY_LINK_COMPLETE which does call hci_conn_del without first checking if conn->type is in fact AMP_LINK and in case it is do properly cleanup upper layers with hci_disconn_cfm.
Issue Reference
git checkout openEuler-1.0-LTS
git pull https://gitee.com/went234/kernel.git bluetooth_fix_use_after_free
git push origin openEuler-1.0-LTS