From patchwork Fri Feb 12 14:04:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8291951 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 2358DBEEE5 for ; Fri, 12 Feb 2016 14:05:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7BEDD203DA for ; Fri, 12 Feb 2016 14:05:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 84E712041B for ; Fri, 12 Feb 2016 14:05:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752896AbcBLOE7 (ORCPT ); Fri, 12 Feb 2016 09:04:59 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:32859 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752849AbcBLOE5 (ORCPT ); Fri, 12 Feb 2016 09:04:57 -0500 Received: by mail-pf0-f193.google.com with SMTP id c10so4036326pfc.0 for ; Fri, 12 Feb 2016 06:04:57 -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=ched1eSN3Mu0A5pRcftfw8vvrqymszv29l5SRe9Cl+I=; b=fp2LMgR2CzG5LGCUdpcxqLgk4CFd7nLK6ey+Q6+zh4YWgtWZhz2i+b4MQAWV/nOKEy yr0sddxYWKlAV/RYXODnavBTt0T9LR357yvP0P8V3+lz3G0hxry6MrLBUUF7dWswxFo1 bCNXZbf6QIG0i98ox6enA2bQIhQ29gsJtDNisUxcVwYNGo2ehPet2lw8wxdEA5muhZVq PdNQ43tjQSrf9+af2hZkz2G8Npcv6reKvXGDms8ysmpWmvUaMOMX5+tpEDKkuTF8Y8Li ja3cd1vnMzlIpKV5XrR0PxSwsGeRwzSPxK7KvkPMLREbdaL440dm95RbdZ2HnVSMQXQX 2GnA== 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=ched1eSN3Mu0A5pRcftfw8vvrqymszv29l5SRe9Cl+I=; b=M3/GVf9uQuVC6RSfd/5gJyeVampo4UMb3hedxA7InH+jyES7rgvmcAmS9lhq8H+ZC3 2jUdtB9Jr+UdMknjMJVBEo01dEvWG/Cf/Adw6MTz8N++/fvKYpHiWmNTOKouXbTh/hIE aswcbR+vEwiBQMRI45BmEf32WNELmvcBPriQ6Cx9gSuHda9p6gZufcnVhi0SOf24GO9M vaWbCJQhLsOJB5OpmVVJ2otifkkJy7geIb3oEWKZ+9m0v7JCOwn+pOn3dnZQNEmulnde KIxjSd4hzk8NBJsltwbM7mcOgIzYCHS0ZO784++tcHyHXAg4not67qRJhZru+6E5Aqev +hhA== X-Gm-Message-State: AG10YOTfHgZ9Uy7YCReS2jJo8kEAr47mZKqpSzkZkRh7+d4jOXSs+vz4+JDxb6Qra9DDBg== X-Received: by 10.98.44.73 with SMTP id s70mr2424862pfs.2.1455285897641; Fri, 12 Feb 2016 06:04:57 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id u64sm19814147pfa.86.2016.02.12.06.04.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 06:04:56 -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 03/11] staging: wilc1000: rename s8rssi in struct found_net_info Date: Fri, 12 Feb 2016 23:04:39 +0900 Message-Id: <1455285887-29946-3-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 s8rssi to rssi to remove s8 prefix in struct found_net_info. 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 60c1827..cd4a0a6 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -1356,10 +1356,10 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif, (pstrNetworkInfo->bssid)) { if (memcmp(hif_drv->usr_scan_req.net_info[i].bssid, pstrNetworkInfo->bssid, 6) == 0) { - if (pstrNetworkInfo->rssi <= hif_drv->usr_scan_req.net_info[i].s8rssi) { + if (pstrNetworkInfo->rssi <= hif_drv->usr_scan_req.net_info[i].rssi) { goto done; } else { - hif_drv->usr_scan_req.net_info[i].s8rssi = pstrNetworkInfo->rssi; + hif_drv->usr_scan_req.net_info[i].rssi = pstrNetworkInfo->rssi; bNewNtwrkFound = false; break; } @@ -1369,7 +1369,7 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif, if (bNewNtwrkFound) { if (hif_drv->usr_scan_req.rcvd_ch_cnt < MAX_NUM_SCANNED_NETWORKS) { - hif_drv->usr_scan_req.net_info[hif_drv->usr_scan_req.rcvd_ch_cnt].s8rssi = pstrNetworkInfo->rssi; + hif_drv->usr_scan_req.net_info[hif_drv->usr_scan_req.rcvd_ch_cnt].rssi = pstrNetworkInfo->rssi; if (hif_drv->usr_scan_req.net_info[hif_drv->usr_scan_req.rcvd_ch_cnt].bssid && pstrNetworkInfo->bssid) { diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index e4729e3..08c072c 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -145,7 +145,7 @@ enum cfg_param { struct found_net_info { u8 bssid[6]; - s8 s8rssi; + s8 rssi; }; enum scan_event {