2015-05-25 18:23:40

by Shailendra Verma

[permalink] [raw]
Subject: [PATCH] bluetooth:btusb - Change 1 to true in bool type variable assignment.

The reset is a bool type variable.So assigning true to reset instead
of 1.

Signed-off-by: Shailendra Verma <[email protected]>
---
drivers/bluetooth/btusb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 3c10d4d..0ce5c32 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -37,7 +37,7 @@
static bool disable_scofix;
static bool force_scofix;

-static bool reset = 1;
+static bool reset = true;

static struct usb_driver btusb_driver;

--
1.7.9.5


2015-05-25 18:58:25

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] bluetooth:btusb - Change 1 to true in bool type variable assignment.

Hi Shailendra,

> The reset is a bool type variable.So assigning true to reset instead
> of 1.
>
> Signed-off-by: Shailendra Verma <[email protected]>
> ---
> drivers/bluetooth/btusb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel