From f717c0ebb37ba3c8223ee7aa3047e94cb4a86c6f Mon Sep 17 00:00:00 2001 From: Abdul Hussain Date: Tue, 16 Jun 2015 09:49:49 +0000 Subject: [PATCH] Staging: wilc1000: Assign proper boolean value This patch assign proper boolean value to boolean variable. Signed-off-by: Abdul Hussain Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 3f139aebe9f8..3228824697f9 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -7814,7 +7814,7 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo) pNewJoinBssParam->rsn_cap[1] = pu8IEs[rsnIndex + 1]; rsnIndex += 2; } - pNewJoinBssParam->rsn_found = 1; + pNewJoinBssParam->rsn_found = true; index += pu8IEs[index + 1] + 2; /* ID,Length bytes and IE body */ continue; } else -- 2.39.5