Bluetooth: Use bt_dev_err and bt_dev_info when possible
[linux-2.6-microblaze.git] / drivers / bluetooth / hci_ath.c
index 5f17ec3..14ae7ee 100644 (file)
@@ -206,7 +206,7 @@ static int ath_recv(struct hci_uart *hu, const void *data, int count)
                                  ath_recv_pkts, ARRAY_SIZE(ath_recv_pkts));
        if (IS_ERR(ath->rx_skb)) {
                int err = PTR_ERR(ath->rx_skb);
-               BT_ERR("%s: Frame reassembly failed (%d)", hu->hdev->name, err);
+               bt_dev_err(hu->hdev, "Frame reassembly failed (%d)", err);
                ath->rx_skb = NULL;
                return err;
        }