提交 e6dd548b 编写于 作者: V Vinicius Costa Gomes 提交者: Gustavo Padovan

Bluetooth: Add type information to the hci_connect() debug statement

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: NVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
上级 4cd2d983
...@@ -566,7 +566,7 @@ static struct hci_conn *hci_connect_sco(struct hci_dev *hdev, bdaddr_t *dst, ...@@ -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, struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst,
__u8 dst_type, __u8 sec_level, __u8 auth_type) __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) { switch (type) {
case LE_LINK: case LE_LINK:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册