From: Andre Guedes Date: Tue, 22 Nov 2011 20:14:19 +0000 (-0300) Subject: Bluetooth: Add BT_DBG to mgmt_discovering() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=343fb14549a736b348b08e702057487a7ec44d5d;p=linux-beck.git Bluetooth: Add BT_DBG to mgmt_discovering() This is helpful for device discovery implementation & debuging. Signed-off-by: Andre Guedes Acked-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 11ee5db16e97..77bc5a4b026c 100644 --- 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