Commit 343fb145 authored by Andre Guedes's avatar Andre Guedes Committed by Johan Hedberg

Bluetooth: Add BT_DBG to mgmt_discovering()

This is helpful for device discovery implementation & debuging.
Signed-off-by: default avatarAndre Guedes <andre.guedes@openbossa.org>
Acked-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment