提交 343fb145 编写于 作者: A Andre Guedes 提交者: Johan Hedberg

Bluetooth: Add BT_DBG to mgmt_discovering()

This is helpful for device discovery implementation & debuging.
Signed-off-by: NAndre Guedes <andre.guedes@openbossa.org>
Acked-by: NMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
上级 053c7e0c
...@@ -3002,6 +3002,8 @@ int mgmt_discovering(struct hci_dev *hdev, u8 discovering) ...@@ -3002,6 +3002,8 @@ int mgmt_discovering(struct hci_dev *hdev, u8 discovering)
{ {
struct pending_cmd *cmd; struct pending_cmd *cmd;
BT_DBG("%s discovering %u", hdev->name, discovering);
if (discovering) if (discovering)
cmd = mgmt_pending_find(MGMT_OP_START_DISCOVERY, hdev); cmd = mgmt_pending_find(MGMT_OP_START_DISCOVERY, hdev);
else else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册