From patchwork Tue Nov 10 13:10:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Kazior X-Patchwork-Id: 7590491 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 91022C05C6 for ; Tue, 10 Nov 2015 13:13:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE1FD2053C for ; Tue, 10 Nov 2015 13:13:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D683920575 for ; Tue, 10 Nov 2015 13:13:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752642AbbKJNNe (ORCPT ); Tue, 10 Nov 2015 08:13:34 -0500 Received: from mail-lb0-f180.google.com ([209.85.217.180]:36336 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752035AbbKJNNF (ORCPT ); Tue, 10 Nov 2015 08:13:05 -0500 Received: by lbblt2 with SMTP id lt2so100752574lbb.3 for ; Tue, 10 Nov 2015 05:13:03 -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=KL2sUvaLc8AV22wrotPiQpQjDbfqePBBj3tOurhhbfk=; b=T4291GeXUZj+xFDG5K1RhCdrLEemTlEEQim4PUTURCdCMo31Q/+KdEQqkUQfunVhL8 XDqiqEtS/NBc3DQp6rYwMTXw90qALaWrxciWd+Ij6izAZJkVRs47i4T3Y6rR9WzTpqlZ V9DGiq3rrH00pVcA21F5nT5ymQkPuFzS+M+sU= 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=KL2sUvaLc8AV22wrotPiQpQjDbfqePBBj3tOurhhbfk=; b=D61HYh8MIP+Y8ktn2v1Os1R9giEjTlRXLNwmnc08DfATm/WN+tJeNtHf5cWOudpYeP /vrur9SapyXxDH128R7IwcBWgq3XOAFcnDxT3PhBS49wAa5IsQOWFZkpjQIcK+WDohbZ lvTJRt3wmOJ6WtilBBk+Qfq4U2FKV8vxOAcYG774EkOV2wtqC1ZorX21FiXe0jTmSopG vcYN4x5lNwwIopZMm9hTCjKWYZQC5LX1w/+wntRJbAQX25kaxvn5Pg9OatCmoGWjvvwo gW9G+Vxi4w5LCOCmJQKI2chkgZgkBkS54nro0tByBtAQSdaUv2ZGoRDQRcCIoUzHStED s3qQ== X-Gm-Message-State: ALoCoQkJdE9g4UPp97Y3hP9V6DPgt+HuVwONxnrAjXEg919/UxZAw81I0xfSyhiAw3TD0DRrTECtqFBHUTntRhPqCCdFDljqmgsuEJpWCn8qVO9q1NeOeQOHSu53KnNuxlzKjlbH+2XW X-Received: by 10.112.54.130 with SMTP id j2mr1367000lbp.120.1447161183493; Tue, 10 Nov 2015 05:13:03 -0800 (PST) Received: from localhost.localdomain ([91.198.246.10]) by smtp.gmail.com with ESMTPSA id e63sm513167lfe.5.2015.11.10.05.13.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Nov 2015 05:13:02 -0800 (PST) From: Michal Kazior To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Michal Kazior Subject: [PATCH v2 2/9] ath10k: rename function to adhere to naming convention Date: Tue, 10 Nov 2015 14:10:48 +0100 Message-Id: <1447161055-2283-3-git-send-email-michal.kazior@tieto.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447161055-2283-1-git-send-email-michal.kazior@tieto.com> References: <1446472988-2603-1-git-send-email-michal.kazior@tieto.com> <1447161055-2283-1-git-send-email-michal.kazior@tieto.com> X-DomainID: tieto.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=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, 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 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 2eb647913a9f..374187e25f2d 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -3146,8 +3146,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; @@ -3660,7 +3662,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: