From patchwork Thu Feb 25 00:15:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8415311 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 587479F2F0 for ; Thu, 25 Feb 2016 00:16:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6105A202F0 for ; Thu, 25 Feb 2016 00:16:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6BBA5202EB for ; Thu, 25 Feb 2016 00:16:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758535AbcBYAQR (ORCPT ); Wed, 24 Feb 2016 19:16:17 -0500 Received: from mail-pf0-f171.google.com ([209.85.192.171]:35082 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757428AbcBYAQP (ORCPT ); Wed, 24 Feb 2016 19:16:15 -0500 Received: by mail-pf0-f171.google.com with SMTP id c10so22702368pfc.2 for ; Wed, 24 Feb 2016 16:16:15 -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=ZwbxPe82A2gL86humnbmUI4+DN8I9Bh+5RCYK9f8gCw=; b=xU2VZausbiQnn/LzscQeN3Z1d7TCR+z9DJV8mSf45JAVFZASoGg5UTG6OmaHDF7+ZY EQBLo5/TGjaCVWgjv7T8SwOBs9/JgM5xY7DhU5SSEOC8009mOyai5U6nTCL70iuaU6G/ T3hnRZtxjcYgCduLKP8OhdR/TJT0i85zSzTqnUGjk0fU6nXycx9O7feIo4VJN+AS6jvE 0JP7QdkfZJVO/umOlzNNzRUM58UJgWRzBotyosa/Ah4LCD5fMgcABXNB/0vS9qSWluX7 NWzFvet8/JW3Y7X1CRIIfiY2LlLAFAA/uJ7r0y8RAIhYvnrl2BpUGwE8zPsNaqH5iSXU A+AQ== 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=ZwbxPe82A2gL86humnbmUI4+DN8I9Bh+5RCYK9f8gCw=; b=ZlV4g0yO4zDlR2HeHa6NXdOEP8rXp1Cja/ldzr0PcZRXFWu04rwuZDwhWImc+N388L 7VzeZRUUmzmnwpJyf1ZDUKrVECDoP36Sc6n7RrWn1nb57l++WM7WxJXyDVBF8fiYNJ8K y6HRlluXc2jHkOHzGS8xgZntLWi5nyJiRdea717URy/atTyZYJUi6WjjS/im5/KNPUMy by/mRLdZFCrsGs7RUpJ0B9qfSgBL826Snb/ciq2tqSQyUZ8c+IIb8Jw9932xucwFuTZw v91cNaEEqSPDSB+knwSF+vPIwHS3i73dVakK5sm6139Jf9uaardl+wjHtaac6fcTS9st DEKg== X-Gm-Message-State: AG10YORKSpMzRTYfmJPYgw2+mfsJTQ3vWcME16LiiUVZ5ESBo4pNOO9JBiMj8qW/IfeKVg== X-Received: by 10.98.64.26 with SMTP id n26mr58822996pfa.149.1456359375124; Wed, 24 Feb 2016 16:16:15 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id h66sm7476150pfd.91.2016.02.24.16.16.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Feb 2016 16:16:14 -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 6/9] staging: wilc1000: rename u16RespIEsLen in struct connect_info Date: Thu, 25 Feb 2016 09:15:47 +0900 Message-Id: <1456359350-17118-6-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1456359350-17118-1-git-send-email-chaehyun.lim@gmail.com> References: <1456359350-17118-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.8 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 u16RespIEsLen to resp_ies_len to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h index bb4c256..408031f 100644 --- a/drivers/staging/wilc1000/coreconfigurator.h +++ b/drivers/staging/wilc1000/coreconfigurator.h @@ -110,7 +110,7 @@ struct connect_info { u8 *req_ies; size_t req_ies_len; u8 *resp_ies; - u16 u16RespIEsLen; + u16 resp_ies_len; u16 u16ConnectStatus; }; diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index c273935..58902bf 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -1467,7 +1467,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, if (strConnectInfo.u16ConnectStatus == SUCCESSFUL_STATUSCODE) { if (pstrConnectRespInfo->ies) { - strConnectInfo.u16RespIEsLen = pstrConnectRespInfo->ies_len; + strConnectInfo.resp_ies_len = pstrConnectRespInfo->ies_len; strConnectInfo.resp_ies = kmalloc(pstrConnectRespInfo->ies_len, GFP_KERNEL); memcpy(strConnectInfo.resp_ies, pstrConnectRespInfo->ies, pstrConnectRespInfo->ies_len); diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 7e10d34..1dbeca5 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -545,7 +545,7 @@ static void CfgConnectResult(enum conn_event enuConnDisconnEvent, cfg80211_connect_result(dev, pstrConnectInfo->bssid, pstrConnectInfo->req_ies, pstrConnectInfo->req_ies_len, - pstrConnectInfo->resp_ies, pstrConnectInfo->u16RespIEsLen, + pstrConnectInfo->resp_ies, pstrConnectInfo->resp_ies_len, u16ConnectStatus, GFP_KERNEL); } else if (enuConnDisconnEvent == CONN_DISCONN_EVENT_DISCONN_NOTIF) { wilc_optaining_ip = false;