mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] bluetooth:hci_bcsp - Change 1 to true for bool type variables assignments.
@ 2015-05-25 18:30 Shailendra Verma
  2015-05-25 18:58 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Shailendra Verma @ 2015-05-25 18:30 UTC (permalink / raw)
  To: Marcel Holtmann, Gustavo Padovan, Johan Hedberg, linux-bluetooth
  Cc: linux-kernel, Shailendra Verma

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

Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
---
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] bluetooth:hci_bcsp - Change 1 to true for bool type variables assignments.
  2015-05-25 18:30 [PATCH] bluetooth:hci_bcsp - Change 1 to true for bool type variables assignments Shailendra Verma
@ 2015-05-25 18:58 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2015-05-25 18:58 UTC (permalink / raw)
  To: Shailendra Verma
  Cc: Gustavo F. Padovan, Johan Hedberg, linux-bluetooth, linux-kernel

Hi Shailendra,

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

patch has been applied to bluetooth-next tree.

Regards

Marcel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-25 18:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-25 18:30 [PATCH] bluetooth:hci_bcsp - Change 1 to true for bool type variables assignments Shailendra Verma
2015-05-25 18:58 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®