Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp517881yba; Thu, 18 Apr 2019 05:22:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqy07TwboCs5/y4vnHKHd2pAgrKW9R+kpy5BBUUEVYN74b1W066GAa7inJK2TghJ2Nd2vq6S X-Received: by 2002:a17:902:854c:: with SMTP id d12mr48637259plo.150.1555590138451; Thu, 18 Apr 2019 05:22:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555590138; cv=none; d=google.com; s=arc-20160816; b=GzSmX+uVQbMTTmRND4lxJ3ENLyk2H2cOg02UjdhuaVYpATf6qks9z3HBJFwPXB8VlD u9CkHoyuh3DB3R3aYyPnAgiNQRTDXXLwEs49/hus/xdb70fNfnscG2fnNHHoN8QAkYlY pdRKYXxIGZYwxHMIN3lzrh4Qx40h0mEltGVLRAO4pZKtVwdbWv1raARjS8hW/J4JXtSR TRMtCyzcXpmwQ3YRiH6DRphU3HB7vxRulEsCxIXcJT24xRaDI/Tc/cwhV1yRBE8xGhbX QLf+byxzXv+WnEZQixHALlBmfv0XvcDozI5EM+UaBl3yvnSB5U+lsigunPolqFCgrhLi Cjuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=uyCqrfCdGXGGAtgzumUk/BXTADs3y6H4AJPbiLP9Oyk=; b=YkHqnmKBEb4CsZkp2dy9jCwJ3O2zO+D7rLR76oty+NBXhzf5hG9BIjdghnX8PHkAWN lVbUP6mcj0Agi0n3tvpujtBx/Qi28kLYO+tMzzFt8d25ID/PVqOtHX2T09V823YgmYwN LhBCwbXDfOQVqD+7rxdLH0eGqGhuhnl5rx84JmB/yWo10CJQ5YW7PBqrOv72D38H6QbS hRdnsLs0/JDw3CW9k8g+5qcAGvrE2Py/YM3iInhXt3fUzCNhHUxMixuPu18Y3OPIHmU3 21VtLcopGMaq6yg7v7bnlk+qA71vz8kdS7WQzPDIg3xuBaFoBfuEg9qkyf2eJenYhYNW NG2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5si2174529pff.39.2019.04.18.05.22.02; Thu, 18 Apr 2019 05:22:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388956AbfDRMUp (ORCPT + 99 others); Thu, 18 Apr 2019 08:20:45 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:37370 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727807AbfDRMUp (ORCPT ); Thu, 18 Apr 2019 08:20:45 -0400 Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1hH61y-00063f-7z; Thu, 18 Apr 2019 12:20:42 +0000 From: Colin King To: Greg Kroah-Hartman , devel@driverdev.osuosl.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rtl8723bs: hal: fix spelling mistake "singal" -> "signal" Date: Thu, 18 Apr 2019 13:20:41 +0100 Message-Id: <20190418122041.12896-1-colin.king@canonical.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin Ian King There are multiple spelling mistakes in variable names, fix these. Signed-off-by: Colin Ian King --- drivers/staging/rtl8723bs/hal/hal_com.c | 18 +++++++++--------- drivers/staging/rtl8723bs/include/rtw_recv.h | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_com.c b/drivers/staging/rtl8723bs/hal/hal_com.c index f1c91483ca07..e5f1153527b9 100644 --- a/drivers/staging/rtl8723bs/hal/hal_com.c +++ b/drivers/staging/rtl8723bs/hal/hal_com.c @@ -1618,14 +1618,14 @@ void rtw_get_raw_rssi_info(void *sel, struct adapter *padapter) isCCKrate = psample_pkt_rssi->data_rate <= DESC_RATE11M; if (isCCKrate) - psample_pkt_rssi->mimo_singal_strength[0] = psample_pkt_rssi->pwdball; + psample_pkt_rssi->mimo_signal_strength[0] = psample_pkt_rssi->pwdball; for (rf_path = 0; rf_path < pHalData->NumTotalRFPath; rf_path++) { DBG_871X_SEL_NL( sel, - "RF_PATH_%d =>singal_strength:%d(%%), singal_quality:%d(%%)\n", - rf_path, psample_pkt_rssi->mimo_singal_strength[rf_path], - psample_pkt_rssi->mimo_singal_quality[rf_path] + "RF_PATH_%d =>signal_strength:%d(%%), signal_quality:%d(%%)\n", + rf_path, psample_pkt_rssi->mimo_signal_strength[rf_path], + psample_pkt_rssi->mimo_signal_quality[rf_path] ); if (!isCCKrate) { @@ -1651,11 +1651,11 @@ void rtw_dump_raw_rssi_info(struct adapter *padapter) isCCKrate = psample_pkt_rssi->data_rate <= DESC_RATE11M; if (isCCKrate) - psample_pkt_rssi->mimo_singal_strength[0] = psample_pkt_rssi->pwdball; + psample_pkt_rssi->mimo_signal_strength[0] = psample_pkt_rssi->pwdball; for (rf_path = 0; rf_path < pHalData->NumTotalRFPath; rf_path++) { - DBG_871X("RF_PATH_%d =>singal_strength:%d(%%), singal_quality:%d(%%)" - , rf_path, psample_pkt_rssi->mimo_singal_strength[rf_path], psample_pkt_rssi->mimo_singal_quality[rf_path]); + DBG_871X("RF_PATH_%d =>signal_strength:%d(%%), signal_quality:%d(%%)" + , rf_path, psample_pkt_rssi->mimo_signal_strength[rf_path], psample_pkt_rssi->mimo_signal_quality[rf_path]); if (!isCCKrate) { printk(", rx_ofdm_pwr:%d(dBm), rx_ofdm_snr:%d(dB)\n", @@ -1682,8 +1682,8 @@ void rtw_store_phy_info(struct adapter *padapter, union recv_frame *prframe) psample_pkt_rssi->pwr_all = pPhyInfo->recv_signal_power; for (rf_path = 0; rf_path < pHalData->NumTotalRFPath; rf_path++) { - psample_pkt_rssi->mimo_singal_strength[rf_path] = pPhyInfo->rx_mimo_signal_strength[rf_path]; - psample_pkt_rssi->mimo_singal_quality[rf_path] = pPhyInfo->rx_mimo_signal_quality[rf_path]; + psample_pkt_rssi->mimo_signal_strength[rf_path] = pPhyInfo->rx_mimo_signal_strength[rf_path]; + psample_pkt_rssi->mimo_signal_quality[rf_path] = pPhyInfo->rx_mimo_signal_quality[rf_path]; if (!isCCKrate) { psample_pkt_rssi->ofdm_pwr[rf_path] = pPhyInfo->RxPwr[rf_path]; psample_pkt_rssi->ofdm_snr[rf_path] = pPhyInfo->RxSNR[rf_path]; diff --git a/drivers/staging/rtl8723bs/include/rtw_recv.h b/drivers/staging/rtl8723bs/include/rtw_recv.h index 7d54cf211315..5de946e66302 100644 --- a/drivers/staging/rtl8723bs/include/rtw_recv.h +++ b/drivers/staging/rtl8723bs/include/rtw_recv.h @@ -120,8 +120,8 @@ struct rx_raw_rssi u8 pwdball; s8 pwr_all; - u8 mimo_singal_strength[4];/* in 0~100 index */ - u8 mimo_singal_quality[4]; + u8 mimo_signal_strength[4];/* in 0~100 index */ + u8 mimo_signal_quality[4]; s8 ofdm_pwr[4]; u8 ofdm_snr[4]; -- 2.20.1