Bluetooth: hci_uart: Change 1 to true for bool type variables assignments
authorShailendra Verma <shailendra.capricorn@gmail.com>
Mon, 25 May 2015 18:30:57 +0000 (00:00 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 25 May 2015 18:57:47 +0000 (20:57 +0200)
The variables txcrc and hciextn are bool type. So assigning true
instead of 1.

Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcsp.c

index dc8e3d4356a0ff40f1b27ddc63de3e7eefef7a87..fc0056a28b8177cf2be5d0d40c37bd26d38f1aa9 100644 (file)
@@ -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