Re: [PATCH 2/2] Bluetooth: Add BT_DBG to mgmt_discovering()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please consider applying this patch. It is really helpful during
discovery debugging.

On Tue, Nov 22, 2011 at 5:14 PM, Andre Guedes
<andre.guedes@xxxxxxxxxxxxx> wrote:
> Signed-off-by: Andre Guedes <andre.guedes@xxxxxxxxxxxxx>
> ---
>  net/bluetooth/mgmt.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
> index f615a5a..19503f9 100644
> --- a/net/bluetooth/mgmt.c
> +++ b/net/bluetooth/mgmt.c
> @@ -2680,6 +2680,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
> --
> 1.7.7.1
>

Andre
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux