Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756639AbbFPJuF (ORCPT ); Tue, 16 Jun 2015 05:50:05 -0400 Received: from mail-db3on0122.outbound.protection.outlook.com ([157.55.234.122]:11743 "EHLO emea01-db3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756034AbbFPJtx convert rfc822-to-8bit (ORCPT ); Tue, 16 Jun 2015 05:49:53 -0400 From: "Abdul, Hussain (H.)" To: "gregkh@linuxfoundation.org" CC: "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" , "Ravindran, Madhusudhanan (M.)" , "Dighe, Niranjan (N.)" , "johnny.kim@atmel.com" , "rachel.kim@atmel.com" , "dean.lee@atmel.com" , "chris.park@atmel.com" , "linux-wireless@vger.kernel.org" Subject: [PATCH] Staging: wilc1000: Assign proper boolean value Thread-Topic: [PATCH] Staging: wilc1000: Assign proper boolean value Thread-Index: AQHQqBnJ9QNt0Vnk10CEYOxaHk8N+g== Date: Tue, 16 Jun 2015 09:49:49 +0000 Message-ID: <1434448109-15017-1-git-send-email-habdul@visteon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 1.9.1 authentication-results: linuxfoundation.org; dkim=none (message not signed) header.d=none; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [74.112.167.117] x-microsoft-exchange-diagnostics: 1;DB5PR06MB1109;10:E6a+JbmZ7Pr1Y9pbxB9/wAMEfdm5INTelBSmsTY8wN84gxD/mT0CPEdREyLfjduK+LM2VnNeg2a3Lt63RSOhKhAxNitUFezLNJpBlns5b3g=;6:9lHDvN7HHDnM23twv2lAfzU1VyuPL2IN+Nq/Q/y+Aw3poq2jUkMRyMm9F0/mlohY x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR06MB1109; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(520003)(5005006)(3002001);SRVR:DB5PR06MB1109;BCL:0;PCL:0;RULEID:;SRVR:DB5PR06MB1109; x-forefront-prvs: 06098A2863 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(46102003)(50986999)(87936001)(2656002)(77096005)(19580405001)(19580395003)(2900100001)(86362001)(66066001)(102836002)(50226001)(40100003)(33646002)(110136002)(2501003)(5002640100001)(229853001)(189998001)(106116001)(2351001)(77156002)(5001960100002)(122556002)(36756003)(92566002);DIR:OUT;SFP:1102;SCL:1;SRVR:DB5PR06MB1109;H:DB5PR06MB1112.eurprd06.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT MIME-Version: 1.0 X-OriginatorOrg: visteon.com X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2015 09:49:49.9196 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7a147aaf-01ec-498c-80a1-e34a8c63c548 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR06MB1109 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1095 Lines: 29 From: Abdul Hussain This patch assign proper boolean value to boolean variable. Signed-off-by: Abdul Hussain --- 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 17ab5cd..be1f6bf 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -7816,7 +7816,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 -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/