summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/util.c
diff options
context:
space:
mode:
authorAvinash Patil2015-03-13 13:07:52 +0100
committerKalle Valo2015-03-16 17:12:17 +0100
commit621599446daeaa80f65ca27190141bbc82dd95ec (patch)
tree7aab79dbce398e77edce2da0d495bb0af2e893d8 /drivers/net/wireless/mwifiex/util.c
parentmwifiex: lock main process till reinitialization of vif is over (diff)
downloadkernel-qcow2-linux-621599446daeaa80f65ca27190141bbc82dd95ec.tar.gz
kernel-qcow2-linux-621599446daeaa80f65ca27190141bbc82dd95ec.tar.xz
kernel-qcow2-linux-621599446daeaa80f65ca27190141bbc82dd95ec.zip
mwifiex: rename alloc_rx_buf to alloc_dma_aligned_buf
Rename this function to reflect its purpose correctly. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mwifiex/util.c')
-rw-r--r--drivers/net/wireless/mwifiex/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/util.c b/drivers/net/wireless/mwifiex/util.c
index 2148a573396b..b8a45872354d 100644
--- a/drivers/net/wireless/mwifiex/util.c
+++ b/drivers/net/wireless/mwifiex/util.c
@@ -632,7 +632,7 @@ void mwifiex_hist_data_reset(struct mwifiex_private *priv)
atomic_set(&phist_data->sig_str[ix], 0);
}
-void *mwifiex_alloc_rx_buf(int rx_len, gfp_t flags)
+void *mwifiex_alloc_dma_align_buf(int rx_len, gfp_t flags)
{
struct sk_buff *skb;
int buf_len, pad;
@@ -653,4 +653,4 @@ void *mwifiex_alloc_rx_buf(int rx_len, gfp_t flags)
return skb;
}
-EXPORT_SYMBOL_GPL(mwifiex_alloc_rx_buf);
+EXPORT_SYMBOL_GPL(mwifiex_alloc_dma_align_buf);