2015-05-25 18:30:57

by Shailendra Verma

[permalink] [raw]
Subject: [PATCH] bluetooth:hci_bcsp - Change 1 to true for bool type variables assignments.

The variables txcrc and hciextn are bool type.So assigning true
instead of 1.

Signed-off-by: Shailendra Verma <[email protected]>
---
drivers/bluetooth/hci_bcsp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/bluetooth/hci_bcsp.c b/drivers/bluetooth/hci_bcsp.c
index dc8e3d4..fc0056a 100644
--- a/drivers/bluetooth/hci_bcsp.c
+++ b/drivers/bluetooth/hci_bcsp.c
@@ -47,8 +47,8 @@

#include "hci_uart.h"

-static bool txcrc = 1;
-static bool hciextn = 1;
+static bool txcrc = true;
+static bool hciextn = true;

#define BCSP_TXWINSIZE 4

--
1.7.9.5


2015-05-25 18:58:23

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] bluetooth:hci_bcsp - Change 1 to true for bool type variables assignments.

Hi Shailendra,

> The variables txcrc and hciextn are bool type.So assigning true
> instead of 1.
>
> Signed-off-by: Shailendra Verma <[email protected]>
> ---
> drivers/bluetooth/hci_bcsp.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel