2015-05-27 00:56:14

by Shailendra Verma

[permalink] [raw]
Subject: [PATCH] ray_cs: Change 1 to true for bool type variable.

The variable translate is bool type.So assigning true instead of 1.

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

diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c
index 477f863..0881ba8 100644
--- a/drivers/net/wireless/ray_cs.c
+++ b/drivers/net/wireless/ray_cs.c
@@ -143,7 +143,7 @@ static int psm;
static char *essid;

/* Default to encapsulation unless translation requested */
-static bool translate = 1;
+static bool translate = true;

static int country = USA;

--
1.7.9.5


2015-06-02 20:32:56

by Kalle Valo

[permalink] [raw]
Subject: Re: ray_cs: Change 1 to true for bool type variable.


> The variable translate is bool type. So assigning true instead of 1.
>
> Signed-off-by: Shailendra Verma <[email protected]>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo