From patchwork Wed May 27 00:55:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shailendra Verma X-Patchwork-Id: 6486391 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 15451C0020 for ; Wed, 27 May 2015 00:56:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 41598206F6 for ; Wed, 27 May 2015 00:56:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 64769206F5 for ; Wed, 27 May 2015 00:56:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751319AbbE0A4N (ORCPT ); Tue, 26 May 2015 20:56:13 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:34865 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751262AbbE0A4M (ORCPT ); Tue, 26 May 2015 20:56:12 -0400 Received: by pacwv17 with SMTP id wv17so105144369pac.2; Tue, 26 May 2015 17:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=jOE+wXfAsX0BuGZs7EQEciF7ilX0ycakQZdmG37dYwM=; b=fY4+xRbfHoB68asaIpA3oksQ6gRATjsODmeKtEy6gXLCFapxq6vq/KwSQQVgCVnVga NCdpLBBjUWHX7+3HpmgM5TdmFQKwATR7qnhKrkX1eM7tSrhNWTsnIdFWIoRlqK+SAHHr XT3hJqeJl5x9zskyzL8SxAUXqxZ3d8VegsWwienAVNDmb/C1JTFCcozT43ZVI2vah418 L0Ts2vk0xADkzKYPhWhrKe/6u2kMhjAeWJB+wkLNoQ6WvFQEwrKDolz1ARA2WQOTk7bZ bGvuJBscnvwRsbkFHi/EYpObE7snzOmK+Ligf7dwYI8JTj6ln09mNp1hjsw+P4mJUtAY oLKw== X-Received: by 10.70.90.100 with SMTP id bv4mr53462558pdb.53.1432688171544; Tue, 26 May 2015 17:56:11 -0700 (PDT) Received: from localhost.localdomain ([112.196.170.51]) by mx.google.com with ESMTPSA id qe9sm14218791pbc.62.2015.05.26.17.56.08 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 May 2015 17:56:10 -0700 (PDT) From: Shailendra Verma To: Kalle Valo , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Shailendra Verma Subject: [PATCH] ray_cs: Change 1 to true for bool type variable. Date: Wed, 27 May 2015 06:25:57 +0530 Message-Id: <1432688157-2678-1-git-send-email-shailendra.capricorn@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The variable translate is bool type.So assigning true instead of 1. Signed-off-by: Shailendra Verma --- 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;