From patchwork Thu Nov 1 15:29:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10664141 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6E859157A for ; Thu, 1 Nov 2018 15:30:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 605AC2C06A for ; Thu, 1 Nov 2018 15:30:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4AF902C0F9; Thu, 1 Nov 2018 15:30:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EF5E12C089 for ; Thu, 1 Nov 2018 15:30:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=X9y2p4fnt9jXZ7zRpX6L0ndS4NHO0maFivDwvNLOqys=; b=D4z N1N/tWHvJAQPqMz9SS37Y0uDewko8UGOcA6syszf7HF4JS+gZR4yxjfwpNkMTXwqAz76I09Sy7fm/ cpWolQYg8vHkhBhIimWEFjC1Xvj8kH3qKywzwKsC1wZ/Kkvixb2PdjtnfZ5jkd2TG43gg6wfIER5a aVp9Bv5U52vzcU8aZdXnXTdC+95HCiOKW6ziCIwPJ3nGvAMm2Ek51ca6SDaDy21RCssdLUCzaIMZt OGnXvEDeri4tuzoIN56Sydp2SopKoS3qHTTW+GLah5QWpEeFeusEo/EU/3GVH40snippS7yH8HSmz 8+9BDw3sYAOtHSDWbQxnzqVey7Bc8Ng==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIEv2-0006G5-1H; Thu, 01 Nov 2018 15:30:00 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIEux-0006BX-R5 for ath10k@lists.infradead.org; Thu, 01 Nov 2018 15:29:58 +0000 Received: by mail-pf1-x442.google.com with SMTP id g21-v6so9500382pfi.7 for ; Thu, 01 Nov 2018 08:29:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=b2PzhwDdAp0pEpUPsO0H72CNFryAo9nWwGPZaOICtvI=; b=BCsbeIHK1ujJ16Eymh4835mLlsPQ3ij5lrb4sr/dgbIR5WtQGP0qojnzJr+TpL9nTm gMQU47Qjwa5BLPS7TuHdEgtGnzTk4ppxxjpKTtIYPJ30aOiwXqi51eCIxIz+FEsO6Nrd qR/y1oGQ1ITaFEymhmLTxELTr4AOfN0YCP7/QWGcdwhTQiz6G4STZXsX2cqOBpn5sVmD czZ3X4PT/APpAzyrhA2vghmK8eZeF6S7qPIZJO+IbR7JgW4eS8s9IFN7/RW0PP6qZsbs BXyABRdXfRlHbT3LipyBU7gm95DSQ7ftMKySeOIktZZ/FAY4O3N99tuude69vEK0oeMJ o39w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=b2PzhwDdAp0pEpUPsO0H72CNFryAo9nWwGPZaOICtvI=; b=RdP0GBLYXrFfz1XMqzFGOYA2GRO8nkZccCgOxVI+qUy/2BUieiED69jzjbg48fKAva i3FHoi0mtJvU2e1O7J4tNBj8qajWUol8QsNDFoRJepuqWnkCfgyaA64cf2vOOL7WEsVN E1Ak9Y2s7q9pTI78HwLKg1wvsNt/omfRAjBu8L5EPN1aRrnlVJFjRNiY66f67K3MGNkg sWit5auer3kXuE4zN4+D8dbkTDy+4CnycFc/epCsN4RIdeigMm4652JMbTd57vls/BL3 7Z07ObiEn6ZFWcIZjUw+oeOQBDjtdmD3PhtBZpTcVXQo8KrTF//j6NAs4wPYk5RyNel5 T9RQ== X-Gm-Message-State: AGRZ1gLUFuInqJDiQI0Du4ztEMJeotoqWxA4YCPVlMThhhcs6o4w7fDN aIZ8Si7/NUrWpr+Usjts4RLi/U9yqaI= X-Google-Smtp-Source: AJdET5d4nWVVtEC2MzpYog8M16+VSET60ff6OVihh9d63iwSKyHQD+oJ+rxmH/MpjTUSA1x8/X7JgA== X-Received: by 2002:a65:580d:: with SMTP id g13-v6mr7059331pgr.370.1541086185410; Thu, 01 Nov 2018 08:29:45 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id b29-v6sm57412054pfj.183.2018.11.01.08.29.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Nov 2018 08:29:44 -0700 (PDT) From: Yangtao Li To: kvalo@codeaurora.org, davem@davemloft.net Subject: [PATCH] ath10k: fix some typo Date: Thu, 1 Nov 2018 11:29:32 -0400 Message-Id: <20181101152932.22684-1-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181101_082955_879265_41018E40 X-CRM114-Status: UNSURE ( 9.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yangtao Li , netdev@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, ath10k@lists.infradead.org MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Yangtao Li --- drivers/net/wireless/ath/ath10k/wow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/wow.c b/drivers/net/wireless/ath/ath10k/wow.c index a6b179f88d36..e834c25a9330 100644 --- a/drivers/net/wireless/ath/ath10k/wow.c +++ b/drivers/net/wireless/ath/ath10k/wow.c @@ -135,7 +135,7 @@ static void ath10k_wow_convert_8023_to_80211 &old_hdr_mask->h_proto, sizeof(old_hdr_mask->h_proto)); - /* Caculate new pkt_offset */ + /* Calculate new pkt_offset */ if (old->pkt_offset < ETH_ALEN) new->pkt_offset = old->pkt_offset + offsetof(struct ieee80211_hdr_3addr, addr1); @@ -146,7 +146,7 @@ static void ath10k_wow_convert_8023_to_80211 else new->pkt_offset = old->pkt_offset + hdr_len + rfc_len - ETH_HLEN; - /* Caculate new hdr end offset */ + /* Calculate new hdr end offset */ if (total_len > ETH_HLEN) hdr_80211_end_offset = hdr_len + rfc_len; else if (total_len > offsetof(struct ethhdr, h_proto))