From patchwork Thu Feb 25 00:15:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8415291 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 BED789F2F0 for ; Thu, 25 Feb 2016 00:16:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C9893202F0 for ; Thu, 25 Feb 2016 00:16:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DB1CB202E6 for ; Thu, 25 Feb 2016 00:16:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757371AbcBYAQK (ORCPT ); Wed, 24 Feb 2016 19:16:10 -0500 Received: from mail-pf0-f179.google.com ([209.85.192.179]:33297 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751373AbcBYAQJ (ORCPT ); Wed, 24 Feb 2016 19:16:09 -0500 Received: by mail-pf0-f179.google.com with SMTP id q63so21941935pfb.0 for ; Wed, 24 Feb 2016 16:16:09 -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=PsV2EJENODyVbd9nUcVWQpNkyFXTQGtvEguSd3lj9gU=; b=R6ipsIXWfuO+BJ8YUAQiPiWLVpIUe9j30d40r9hB9/40jT6CZ8QO4q0kYTqwbvi899 KiBEAoh+tPs69Mb17IBGGa6ruwBVcpBpvRmcQ06fOYIP0mHCZ9CPFu/FsyB5DoLPGY0q UWSjf/Kid3lY6s/XoE4B5aCoelNRVdKADFHT0ZCnrlBtQdjxX+CIMCX5Xvr7fQjSojVq g4oGIZJ3Ghdp4Lmzb1E8I8hqZ06HLbLj4oPhZEvM1DU9Vr43AFYdkWr0tiVsN983X7GZ dMdvzAvwa7L6L0HcmsLdPZzIYbzGAqmJIktUEoZgb83/zkl6b/7B8xzt2l+uhJkTpOVg 80Pw== 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=PsV2EJENODyVbd9nUcVWQpNkyFXTQGtvEguSd3lj9gU=; b=LU1hfjcuBtBJj5XQPwuj3iKZbPmbZj6FZhpsEggJKNRLv451/RdR0evl+XfaYHEqL6 enQgc6LZ49H/aLSjcSdzQJzC4QGyw13iQNMy3Y3LUF6JfFyjBO8UidhyrpsBOlOXFXuk ybk5rOHqEMn1SNCJjofeas4Ghb9OlhOgJcRegORDH+3/o6QIF5ZNf30s3mT/2WFDkqPY BIjZHkWvnlOT7w4dCUfN3xC+xUu2h3Jr57o6OgEaE5Ha/uJ8FDLI69RQL4mCdSCs5/cH WdrVGz554MzEIHmWSmBxQjNz6zwIB79Vc+GWMZzigC1OasIko1L1HeYWjP7CS1M8tjJb 1j2g== X-Gm-Message-State: AG10YOT7b7s4vb+IQDktAFL2pdqgb2aQRVTbTmdP/OXU0Rh0uhEgkJwn+KNsQT4EvYOI5w== X-Received: by 10.98.75.10 with SMTP id y10mr58955188pfa.32.1456359368973; Wed, 24 Feb 2016 16:16:08 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id h66sm7476150pfd.91.2016.02.24.16.16.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Feb 2016 16:16:08 -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 4/9] staging: wilc1000: rename ReqIEsLen in struct connec_info Date: Thu, 25 Feb 2016 09:15:45 +0900 Message-Id: <1456359350-17118-4-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 ReqIEsLen to req_ies_len to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h index 5ef4fd1..d26e597 100644 --- a/drivers/staging/wilc1000/coreconfigurator.h +++ b/drivers/staging/wilc1000/coreconfigurator.h @@ -108,7 +108,7 @@ struct connect_resp_info { struct connect_info { u8 bssid[6]; u8 *req_ies; - size_t ReqIEsLen; + size_t req_ies_len; u8 *pu8RespIEs; u16 u16RespIEsLen; u16 u16ConnectStatus; diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 55ed96e..dec3d08 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -1158,7 +1158,7 @@ ERRORHANDLER: memcpy(strConnectInfo.bssid, pstrHostIFconnectAttr->bssid, 6); if (pstrHostIFconnectAttr->ies) { - strConnectInfo.ReqIEsLen = pstrHostIFconnectAttr->ies_len; + strConnectInfo.req_ies_len = pstrHostIFconnectAttr->ies_len; strConnectInfo.req_ies = kmalloc(pstrHostIFconnectAttr->ies_len, GFP_KERNEL); memcpy(strConnectInfo.req_ies, pstrHostIFconnectAttr->ies, @@ -1265,7 +1265,7 @@ static s32 Handle_ConnectTimeout(struct wilc_vif *vif) } if (hif_drv->usr_conn_req.ies) { - strConnectInfo.ReqIEsLen = hif_drv->usr_conn_req.ies_len; + strConnectInfo.req_ies_len = hif_drv->usr_conn_req.ies_len; strConnectInfo.req_ies = kmalloc(hif_drv->usr_conn_req.ies_len, GFP_KERNEL); memcpy(strConnectInfo.req_ies, hif_drv->usr_conn_req.ies, @@ -1502,7 +1502,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, } if (hif_drv->usr_conn_req.ies) { - strConnectInfo.ReqIEsLen = hif_drv->usr_conn_req.ies_len; + strConnectInfo.req_ies_len = hif_drv->usr_conn_req.ies_len; strConnectInfo.req_ies = kmalloc(hif_drv->usr_conn_req.ies_len, GFP_KERNEL); memcpy(strConnectInfo.req_ies, hif_drv->usr_conn_req.ies, diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 7260f1d..f8cd128 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -544,7 +544,7 @@ static void CfgConnectResult(enum conn_event enuConnDisconnEvent, } cfg80211_connect_result(dev, pstrConnectInfo->bssid, - pstrConnectInfo->req_ies, pstrConnectInfo->ReqIEsLen, + pstrConnectInfo->req_ies, pstrConnectInfo->req_ies_len, pstrConnectInfo->pu8RespIEs, pstrConnectInfo->u16RespIEsLen, u16ConnectStatus, GFP_KERNEL); } else if (enuConnDisconnEvent == CONN_DISCONN_EVENT_DISCONN_NOTIF) {