From patchwork Wed Nov 18 05:59:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Kazior X-Patchwork-Id: 7644791 Return-Path: X-Original-To: patchwork-ath10k@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BF0DB9F392 for ; Wed, 18 Nov 2015 06:01:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F331920630 for ; Wed, 18 Nov 2015 06:01:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2ADFF2062B for ; Wed, 18 Nov 2015 06:01:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zyvo8-0000a9-9b; Wed, 18 Nov 2015 06:01:28 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zyvo5-0000Z6-Gj for ath10k@bombadil.infradead.org; Wed, 18 Nov 2015 06:01:25 +0000 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]) by merlin.infradead.org with esmtps (Exim 4.85 #2 (Red Hat Linux)) id 1Zyvo4-0000g3-AK for ath10k@lists.infradead.org; Wed, 18 Nov 2015 06:01:24 +0000 Received: by lbbcs9 with SMTP id cs9so18394348lbb.1 for ; Tue, 17 Nov 2015 21:59:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iWDz42O/r6ALcHKhVGe5nLRbpcrgn2Ux16271yXpVII=; b=auzxUWdqHhRJtxTlxaZSxTztbi35BhRoge8xfcYlCE7bibEA0uRRdYp66CXJEaslUe u/AveeBl3G4mluxJMtaqrDeyDTLDt/PUAYfYncmDoUjndD75RcVwF286KJlXyocmy/nl j4DaePsYAMgqB3nzYVwGHv04pUrlIWBAW93iY= 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=iWDz42O/r6ALcHKhVGe5nLRbpcrgn2Ux16271yXpVII=; b=WtxfmeZTNQctMywg6elGsqC9UAKaXJUfkS+UtX8ahual0pxy3oRc5O0ytrLla/za9i ZkiEhkgKKkgrPR63hiNsy/sYV2lur0NWvJIYHbP0IVqSCzxYtDDT/AkkeEQNQCa6Q8qJ 1h+ciBOfu4t/aCUoLTelO1KXYzjR5CKjbN47XIAX4jxjD79ROdSs+Z35o3Ic1Imkez2e QFwYNdtl2TLVGN9xdE7sgRKKv1L84jvKNkAHce44CK2R9EhutcCcReNWwoYUKu20kfDv lpVFBwyrcYnt4Ra/we722broqnc6NLtGS0aAd8Sk7e+QL3OHMluemVy+7noXkg32xhUu zcvg== X-Gm-Message-State: ALoCoQlUA5wYHpX+iQBeEakKGXiNnthiWXSZt3gVn6KPdYW4H9QMORQL27euOZ2UTfIX948uu3OJS7dskclUmu7ZtskQ8wcozHLfWLPLGLmIn4YY3Eaj6G+pYU0vzT6qHGiECaCNYFS0YG7ZueReNUxytlwsgP2buWLXijSMdx3eqnrdQNFMR+CxYW1wE+8/5zE9EO38Ul0n X-Received: by 10.112.247.103 with SMTP id yd7mr21525903lbc.46.1447826371639; Tue, 17 Nov 2015 21:59:31 -0800 (PST) Received: from localhost.localdomain ([91.198.246.10]) by smtp.gmail.com with ESMTPSA id rm5sm165290lbb.20.2015.11.17.21.59.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Nov 2015 21:59:30 -0800 (PST) From: Michal Kazior To: ath10k@lists.infradead.org Subject: [PATCH v3 2/9] ath10k: rename function to adhere to naming convention Date: Wed, 18 Nov 2015 06:59:16 +0100 Message-Id: <1447826363-16818-3-git-send-email-michal.kazior@tieto.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447826363-16818-1-git-send-email-michal.kazior@tieto.com> References: <87mvuj585b.fsf@kamboji.qca.qualcomm.com> <1447826363-16818-1-git-send-email-michal.kazior@tieto.com> X-DomainID: tieto.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151118_010124_659019_EED5156F X-CRM114-Status: GOOD ( 11.12 ) X-Spam-Score: -2.7 (--) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, Michal Kazior MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 All functions should have ath10k_{filename}_ prefixes. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/mac.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index ab2e5677f771..be323ad537ad 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -3149,8 +3149,10 @@ static u8 ath10k_tx_h_get_vdev_id(struct ath10k *ar, struct ieee80211_vif *vif) } static enum ath10k_hw_txrx_mode -ath10k_tx_h_get_txmode(struct ath10k *ar, struct ieee80211_vif *vif, - struct ieee80211_sta *sta, struct sk_buff *skb) +ath10k_mac_tx_h_get_txmode(struct ath10k *ar, + struct ieee80211_vif *vif, + struct ieee80211_sta *sta, + struct sk_buff *skb) { const struct ieee80211_hdr *hdr = (void *)skb->data; __le16 fc = hdr->frame_control; @@ -3664,7 +3666,8 @@ static void ath10k_tx(struct ieee80211_hw *hw, ATH10K_SKB_CB(skb)->htt.tid = ath10k_tx_h_get_tid(hdr); ATH10K_SKB_CB(skb)->htt.nohwcrypt = !ath10k_tx_h_use_hwcrypto(vif, skb); ATH10K_SKB_CB(skb)->vdev_id = ath10k_tx_h_get_vdev_id(ar, vif); - ATH10K_SKB_CB(skb)->txmode = ath10k_tx_h_get_txmode(ar, vif, sta, skb); + ATH10K_SKB_CB(skb)->txmode = ath10k_mac_tx_h_get_txmode(ar, vif, sta, + skb); switch (ATH10K_SKB_CB(skb)->txmode) { case ATH10K_HW_TXRX_MGMT: