projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
053c7e0
)
Bluetooth: Add BT_DBG to mgmt_discovering()
author
Andre Guedes
<andre.guedes@openbossa.org>
Tue, 22 Nov 2011 20:14:19 +0000
(17:14 -0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:35 +0000
(17:01 +0200)
This is helpful for device discovery implementation & debuging.
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/mgmt.c
b/net/bluetooth/mgmt.c
index 11ee5db16e97c5d20f4373e66b8db75e81c0e8a3..77bc5a4b026c27dea5f90cbc6ea118e8d186ebb5 100644
(file)
--- a/
net/bluetooth/mgmt.c
+++ b/
net/bluetooth/mgmt.c
@@
-3002,6
+3002,8
@@
int mgmt_discovering(struct hci_dev *hdev, u8 discovering)
{
struct pending_cmd *cmd;
+ BT_DBG("%s discovering %u", hdev->name, discovering);
+
if (discovering)
cmd = mgmt_pending_find(MGMT_OP_START_DISCOVERY, hdev);
else