From patchwork Thu Feb 25 00:15:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8415301 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 68F42C0553 for ; Thu, 25 Feb 2016 00:16:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 81419202E6 for ; Thu, 25 Feb 2016 00:16:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6EFA9202EC for ; Thu, 25 Feb 2016 00:16:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757990AbcBYAQN (ORCPT ); Wed, 24 Feb 2016 19:16:13 -0500 Received: from mail-pf0-f178.google.com ([209.85.192.178]:35054 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757428AbcBYAQM (ORCPT ); Wed, 24 Feb 2016 19:16:12 -0500 Received: by mail-pf0-f178.google.com with SMTP id c10so22701689pfc.2 for ; Wed, 24 Feb 2016 16:16:12 -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=sk63a8WuJfnuGLREiYzzSh18cm+rgHTr/1pt9U9HHsM=; b=v+3zGeyJ0LFjzgdsl4ZxaoV/F3fcceqSADQNTUsOnRYxJ2vKzRGnY09QzsmxyXoSmO 1NeRLqEgAVGqZfCE0f+5t/4eqcjS/FTt6atHylB3g7+BxjYRd8OwbRN+PYadD9sPSIyx PCGruf3aLapbMxNZ1GovELUiw23m4gCFMPqQdxVoLV1KogIWSvTsPNehDyQ6ptstqUuJ ggqfom34PmwLHqS3R2uazb/bW7yjzzGJQ+gaiRFAc9QhYcUDIbs4lCcJGMdpJbPytdO2 roVeD+3vreBNICURJK911J2Hz8BLJI4ShH13ohfh1vpnvaDWGvb7dMN7m8EuWSwcUbDz FEPQ== 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=sk63a8WuJfnuGLREiYzzSh18cm+rgHTr/1pt9U9HHsM=; b=NxoIe+B65GeRVn7TIwLnfgrYTawKfVi8jHK9db3032Xzn5bUw1PKXQrk6c1I8ouVwU Z+EJjq6/agtUhn/yuFtcl3Hv+d72ZNDPK12eqQ7G5TN2KZBVn6S57RG5uixYWvOppwOy FUNRoM7st2iIozueccrPwae6b5k4Qc4GhpHGIQTewxC/XQ8m1Vv75FlUGhHxjCoDDAqJ 55t/VBF55kWHfKIMWDB0bceG5VXeZ68Uv1db1nBpvlKJQVFXpUvMh5+bsh6yLVd7D7xQ l3O+YI3m+4VSXSXA/NSSwtO7o52qhQYMLTkTFYEC+nQqDUt3d9VyTAdgRpr76w75v90n TV9g== X-Gm-Message-State: AG10YOTAcfOSGUYA8zjGlCvw4yqDWxhx8p72a6C7K7TkkxwLkcV+7KN4psNOZJITba95Fw== X-Received: by 10.98.13.154 with SMTP id 26mr58871005pfn.164.1456359371971; Wed, 24 Feb 2016 16:16:11 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id h66sm7476150pfd.91.2016.02.24.16.16.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Feb 2016 16:16:11 -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 5/9] staging: wilc1000: rename pu8RespIEs in struct connect_info Date: Thu, 25 Feb 2016 09:15:46 +0900 Message-Id: <1456359350-17118-5-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 pu8RespIEs to resp_ies to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 8 ++++---- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h index d26e597..bb4c256 100644 --- a/drivers/staging/wilc1000/coreconfigurator.h +++ b/drivers/staging/wilc1000/coreconfigurator.h @@ -109,7 +109,7 @@ struct connect_info { u8 bssid[6]; u8 *req_ies; size_t req_ies_len; - u8 *pu8RespIEs; + u8 *resp_ies; u16 u16RespIEsLen; u16 u16ConnectStatus; }; diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index dec3d08..c273935 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -1468,8 +1468,8 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, if (strConnectInfo.u16ConnectStatus == SUCCESSFUL_STATUSCODE) { if (pstrConnectRespInfo->ies) { strConnectInfo.u16RespIEsLen = pstrConnectRespInfo->ies_len; - strConnectInfo.pu8RespIEs = kmalloc(pstrConnectRespInfo->ies_len, GFP_KERNEL); - memcpy(strConnectInfo.pu8RespIEs, pstrConnectRespInfo->ies, + strConnectInfo.resp_ies = kmalloc(pstrConnectRespInfo->ies_len, GFP_KERNEL); + memcpy(strConnectInfo.resp_ies, pstrConnectRespInfo->ies, pstrConnectRespInfo->ies_len); } } @@ -1530,8 +1530,8 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, scan_while_connected = false; } - kfree(strConnectInfo.pu8RespIEs); - strConnectInfo.pu8RespIEs = NULL; + kfree(strConnectInfo.resp_ies); + strConnectInfo.resp_ies = NULL; kfree(strConnectInfo.req_ies); strConnectInfo.req_ies = NULL; diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index f8cd128..7e10d34 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->pu8RespIEs, pstrConnectInfo->u16RespIEsLen, + pstrConnectInfo->resp_ies, pstrConnectInfo->u16RespIEsLen, u16ConnectStatus, GFP_KERNEL); } else if (enuConnDisconnEvent == CONN_DISCONN_EVENT_DISCONN_NOTIF) { wilc_optaining_ip = false;