Commit 072b3948 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename rtl8192_tx_fill_desc

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx_fill_desc to rtl92e_fill_tx_desc.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 63b544a1
...@@ -1188,8 +1188,8 @@ static u8 rtl8192_QueryIsShort(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc) ...@@ -1188,8 +1188,8 @@ static u8 rtl8192_QueryIsShort(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc)
return tmp_Short; return tmp_Short;
} }
void rtl8192_tx_fill_desc(struct net_device *dev, struct tx_desc *pdesc, void rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc,
struct cb_desc *cb_desc, struct sk_buff *skb) struct cb_desc *cb_desc, struct sk_buff *skb)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
dma_addr_t mapping = pci_map_single(priv->pdev, skb->data, skb->len, dma_addr_t mapping = pci_map_single(priv->pdev, skb->data, skb->len,
......
...@@ -45,9 +45,8 @@ bool rtl92e_start_adapter(struct net_device *dev); ...@@ -45,9 +45,8 @@ bool rtl92e_start_adapter(struct net_device *dev);
void rtl92e_link_change(struct net_device *dev); void rtl92e_link_change(struct net_device *dev);
void rtl92e_set_monitor_mode(struct net_device *dev, bool bAllowAllDA, void rtl92e_set_monitor_mode(struct net_device *dev, bool bAllowAllDA,
bool WriteIntoReg); bool WriteIntoReg);
void rtl8192_tx_fill_desc(struct net_device *dev, struct tx_desc *pdesc, void rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc,
struct cb_desc *cb_desc, struct cb_desc *cb_desc, struct sk_buff *skb);
struct sk_buff *skb);
void rtl92e_fill_tx_cmd_desc(struct net_device *dev, struct tx_desc_cmd *entry, void rtl92e_fill_tx_cmd_desc(struct net_device *dev, struct tx_desc_cmd *entry,
struct cb_desc *cb_desc, struct sk_buff *skb); struct cb_desc *cb_desc, struct sk_buff *skb);
bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats, bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats,
......
...@@ -48,7 +48,7 @@ static struct rtl819x_ops rtl819xp_ops = { ...@@ -48,7 +48,7 @@ static struct rtl819x_ops rtl819xp_ops = {
.init_adapter_variable = rtl92e_init_variables, .init_adapter_variable = rtl92e_init_variables,
.initialize_adapter = rtl92e_start_adapter, .initialize_adapter = rtl92e_start_adapter,
.link_change = rtl92e_link_change, .link_change = rtl92e_link_change,
.tx_fill_descriptor = rtl8192_tx_fill_desc, .tx_fill_descriptor = rtl92e_fill_tx_desc,
.tx_fill_cmd_descriptor = rtl92e_fill_tx_cmd_desc, .tx_fill_cmd_descriptor = rtl92e_fill_tx_cmd_desc,
.rx_query_status_descriptor = rtl92e_get_rx_stats, .rx_query_status_descriptor = rtl92e_get_rx_stats,
.rx_command_packet_handler = NULL, .rx_command_packet_handler = NULL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment