Skip to content

Commit

Permalink
Bluetooth: Add type information to the hci_connect() debug statement
Browse files Browse the repository at this point in the history
Now that we have a "connect" function for each link type, we should be
able to indentify which function is going to be called.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
  • Loading branch information
Vinicius Costa Gomes authored and Gustavo Padovan committed Aug 15, 2012
1 parent 4cd2d98 commit e6dd548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ static struct hci_conn *hci_connect_sco(struct hci_dev *hdev, bdaddr_t *dst,
struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst,
__u8 dst_type, __u8 sec_level, __u8 auth_type)
{
BT_DBG("%s dst %s", hdev->name, batostr(dst));
BT_DBG("%s dst %s type 0x%x", hdev->name, batostr(dst), type);

switch (type) {
case LE_LINK:
Expand Down

0 comments on commit e6dd548

Please sign in to comment.