From patchwork Fri Feb 12 14:04:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8292001 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 0D121BEEE5 for ; Fri, 12 Feb 2016 14:05:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2D949203DA for ; Fri, 12 Feb 2016 14:05:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4561220397 for ; Fri, 12 Feb 2016 14:05:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752918AbcBLOFP (ORCPT ); Fri, 12 Feb 2016 09:05:15 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:36024 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752901AbcBLOFH (ORCPT ); Fri, 12 Feb 2016 09:05:07 -0500 Received: by mail-pf0-f194.google.com with SMTP id e127so4027790pfe.3 for ; Fri, 12 Feb 2016 06:05:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZKpvwhbD95bvGBEoFGso5mt5u33MZi5oPLrlsjX7OUc=; b=DIqE/BZ92TiS3UJ7O1HeE6MKfhUCbmiPZgn0RhK9Tj+TN/L2BPNMj81DwfWZTCsn62 GxWrwNQ9mSs9fhuvYApF6CNBQNXCrDGglSLKZl3XM/nJzPeE/lq1hf88KS8yF1Cb3N3t 31eOMmxFWXRS3/+cUSea9x5PRkdL0S4SzXJbFISD48i4TKsx3lEBL89yWVvp7B7AXecT arG4qgbXUNNiEURfqqeWgt7GcEgbDw3mgiC7JiQRj4KuyOa1MiDOkdnFuUyenlmxWOdK 9qVU+6Rk1OQBVGbD3MDVYku2EcgQn5/V3H3lSj/DHE5xlI0/FOG8PF6QjiJ5a5vbzrgu y9KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZKpvwhbD95bvGBEoFGso5mt5u33MZi5oPLrlsjX7OUc=; b=ZiOiFBOdw0/KR1v9Li8A5aoM/EVkzsd5uYoXPqj9ongzP3zdJ1Jot2S5RjbPbxQHdw oEEoYX0cbL6p17ZCbIAp4N4/WsEOwsdLkFTo7gYb0kmAxJm17luXHI+m9ZIFzrX489N8 yA1UeJQPQHDavuq1kBP8JNJRqOPCBrNH+U1uKDIEldDXw+9X2fAKFunUn8cgie36WNF6 UAkZmKi7Hr2iIWC8PAglE3GIzh86L/mmhhBpPQgE33l8XQS9LidB9Wf5sv/hYLPA/peq BVVwGWrid3+EgtXaQzZlXJYhk26iupxndZ7JegHw4mH6GcIwNRN5ThO1RPC9MeVp+b07 n+hg== X-Gm-Message-State: AG10YOS4nSs6m65UafZ4Iuei+RxSQyg8YhORN4bcTaDwHMG1NdUtPNkPqNq7INEfWdxqHQ== X-Received: by 10.98.86.139 with SMTP id h11mr2342449pfj.105.1455285906998; Fri, 12 Feb 2016 06:05:06 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id u64sm19814147pfa.86.2016.02.12.06.05.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 06:05:06 -0800 (PST) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, austin.shin@atmel.com, chris.park@atmel.com, tony.cho@atmel.com, glen.lee@atmel.com, leo.kim@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 06/11] staging: wilc1000: rename u8security in user_conn_req Date: Fri, 12 Feb 2016 23:04:42 +0900 Message-Id: <1455285887-29946-6-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1455285887-29946-1-git-send-email-chaehyun.lim@gmail.com> References: <1455285887-29946-1-git-send-email-chaehyun.lim@gmail.com> 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.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 This patch renames u8security to security to remove u8 prefix in struct user_conn_req. There is no need to use prefix to show data type of this variable. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 397ef61..a9c8b15 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -986,7 +986,7 @@ static s32 Handle_Connect(struct wilc_vif *vif, pstrHostIFconnectAttr->ies_len); } - hif_drv->usr_conn_req.u8security = pstrHostIFconnectAttr->security; + hif_drv->usr_conn_req.security = pstrHostIFconnectAttr->security; hif_drv->usr_conn_req.auth_type = pstrHostIFconnectAttr->auth_type; hif_drv->usr_conn_req.conn_result = pstrHostIFconnectAttr->result; hif_drv->usr_conn_req.arg = pstrHostIFconnectAttr->arg; @@ -1026,11 +1026,11 @@ static s32 Handle_Connect(struct wilc_vif *vif, strWIDList[u32WidsCount].id = (u16)WID_11I_MODE; strWIDList[u32WidsCount].type = WID_CHAR; strWIDList[u32WidsCount].size = sizeof(char); - strWIDList[u32WidsCount].val = (s8 *)&hif_drv->usr_conn_req.u8security; + strWIDList[u32WidsCount].val = (s8 *)&hif_drv->usr_conn_req.security; u32WidsCount++; if (memcmp("DIRECT-", pstrHostIFconnectAttr->ssid, 7)) - mode_11i = hif_drv->usr_conn_req.u8security; + mode_11i = hif_drv->usr_conn_req.security; strWIDList[u32WidsCount].id = (u16)WID_AUTH_TYPE; strWIDList[u32WidsCount].type = WID_CHAR; diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index 30acf40..5e65f2c 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -205,7 +205,7 @@ struct user_scan_req { struct user_conn_req { u8 *bssid; u8 *ssid; - u8 u8security; + u8 security; enum AUTHTYPE auth_type; size_t ssid_len; u8 *ies;