mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-10 00:26:34 +00:00
Bluetooth: Use bt_dev_err and bt_dev_info when possible
In case of using BT_ERR and BT_INFO, convert to bt_dev_err and bt_dev_info when possible. This allows for controller specific reporting. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
a9ee77af75
commit
2064ee332e
21 changed files with 279 additions and 280 deletions
|
@ -573,7 +573,7 @@ static int a2mp_discphyslink_req(struct amp_mgr *mgr, struct sk_buff *skb,
|
|||
hcon = hci_conn_hash_lookup_ba(hdev, AMP_LINK,
|
||||
&mgr->l2cap_conn->hcon->dst);
|
||||
if (!hcon) {
|
||||
BT_ERR("No phys link exist");
|
||||
bt_dev_err(hdev, "no phys link exist");
|
||||
rsp.status = A2MP_STATUS_NO_PHYSICAL_LINK_EXISTS;
|
||||
goto clean;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue