From patchwork Fri Feb 12 14:04:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8291931 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 54D02BEEE5 for ; Fri, 12 Feb 2016 14:04:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 72A04203F7 for ; Fri, 12 Feb 2016 14:04:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 84AD3203DA for ; Fri, 12 Feb 2016 14:04:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752891AbcBLOEx (ORCPT ); Fri, 12 Feb 2016 09:04:53 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35149 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752886AbcBLOEv (ORCPT ); Fri, 12 Feb 2016 09:04:51 -0500 Received: by mail-pf0-f193.google.com with SMTP id w128so3444712pfb.2 for ; Fri, 12 Feb 2016 06:04:51 -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; bh=Dfufq6uWzcoH+GYFD0S4lnSNJqG11bH+ai7PETJSvhY=; b=TFrJbpgmK55ash9OqXNm/glsR2orXWyoYsB5/UJ0A1sSdktCJk5r+DfV7otXxAsHzR oTZIGSZM+pI0rWTbo5PlJKRPdIHFg0/S5LZrWn0Kt4Un+d3t8KhoDr0/tYNWFkb+yL1O 6j8+jMV19U/B/JDGJCamCUINJgGZl+Ca9QfgYF0jPLn9cVDJDi5b8rPpuD5OdYsTBz40 BhJUAYVVajvuIdBek3iXBqQvQYYnxHoFpbWPdTgfcQb7jD57t8UqzUzBi/ukwlG6U3aU a/IyO5FMMB+9qitgect/A5kJsM/l8oUDcPlomEtCukKFZPqWRLIQWPM49vxs2k0O928d fJ8w== 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; bh=Dfufq6uWzcoH+GYFD0S4lnSNJqG11bH+ai7PETJSvhY=; b=S/U1FI3E8xEy1KzzFuTNlSxzttFLeGCC8deGNdjGVqYrFdgFPc5n/+Bn+GYeIw2hXi F3iqaBl480az8Y7a4RQiozu5Uw0LLkljOhP15tVbwZgtUI7xCqTbO+BOTzUiBY6uZaWm Cpv8d7bCm6PXrIJVuMVq+Sb4EDvxfJSUqA45BuoHgRmVvEjwaO2J6l821Y5GFCGACzp6 iRJQ8rHrGj3G+S5bJUuPA2hrC1IoSYUBcWikPX5SvnU/BU8ypb4FjJRI5b+9ULywS7me FwFzMeKCQsuiBunPbrZ7fFgG/AfFJm4A5/boDwdkV0ztbXBWEYU1cipR0ZxoT8EPgxC+ dPPQ== X-Gm-Message-State: AG10YOS5H/jMD7NXGxckGYZbW+4arLWk8C8rAj0sGOQmbmPHSSUkGh/nRbecA/pdExrzMA== X-Received: by 10.98.71.147 with SMTP id p19mr2324402pfi.165.1455285891176; Fri, 12 Feb 2016 06:04:51 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id u64sm19814147pfa.86.2016.02.12.06.04.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 06:04:50 -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 01/11] staging: wilc1000: rename au8bssid in struct join_bss_param Date: Fri, 12 Feb 2016 23:04:37 +0900 Message-Id: <1455285887-29946-1-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.7.1 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 au8bssid to bssid to remove au8 prefix in struct join_bss_param. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 5570707..ab02159 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -211,7 +211,7 @@ struct join_bss_param { u8 dtim_period; u16 beacon_period; u16 cap_info; - u8 au8bssid[6]; + u8 bssid[6]; char ssid[MAX_SSID_LEN]; u8 ssid_len; u8 supp_rates[MAX_RATES_SUPPORTED + 1]; @@ -4246,7 +4246,7 @@ static void *host_int_ParseJoinBssParam(struct network_info *ptstrNetworkInfo) pNewJoinBssParam->dtim_period = ptstrNetworkInfo->dtim_period; pNewJoinBssParam->beacon_period = ptstrNetworkInfo->beacon_period; pNewJoinBssParam->cap_info = ptstrNetworkInfo->cap_info; - memcpy(pNewJoinBssParam->au8bssid, ptstrNetworkInfo->bssid, 6); + memcpy(pNewJoinBssParam->bssid, ptstrNetworkInfo->bssid, 6); memcpy((u8 *)pNewJoinBssParam->ssid, ptstrNetworkInfo->ssid, ptstrNetworkInfo->ssid_len + 1); pNewJoinBssParam->ssid_len = ptstrNetworkInfo->ssid_len;